Thursday, October 13, 2011

Rounding In PowerShell

Another simple one (from John D. Cook):

$> [int] 1.1
1

$> [int] 1.5
2

$> [int] 1.8
2

No comments:

Post a Comment