Round(
x
)
Round x to the nearest whole number. If x is halfway between two numbers, choose the
nearest number that is away from zero.
Example
=
Block
{
ShowRound
(1.001);
ShowRound
(1.499);
ShowRound
(1.5);
};
The number 1.001 rounds to 1.
The number 1.499 rounds to 1.
The number 1.5 rounds to 2.