Home / lang / round 
Round
Syntax
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

Arithmetical Functions