lang • round

Round

Value = Round ( Number [ , Digits ] )

Rounds a number to its nearest integer, if Digits is not specified.

If Digits is specified, rounds to 10 ^ Digits.

Examples

Print Round(Pi, -2)
3.14
Print Round(1972, 2)
2000

See also