[math]::Round($value, 2);
If I issue the Round() call without a second parameter thus:
[math]::Round($value);
I would get an integer rounded value, i.e. I'd get the whole, ignoring any decimals.
Hope that helps!
Later
C
C
The SharePoint Knowledge Collection of Cornelius J. van Dyk, an 9 x SharePoint MVP
Well, the time has finally come. It was evident when Microsoft started pushing everyone to WebHooks, but this FAQ and related announcement...
No comments:
Post a Comment
Comments are moderated only for the purpose of keeping pesky spammers at bay.