Round

rnd( )


The round operator rounds what is within its parentheses to the nearest integer. This is the equivalent of adding 0.5 to the value and then finding the floor of the value. For example, if you enter the number 10.5:


rnd(10.5)


the result would be 11.


If you enter the number -10.4:


rnd(-10.4)


the result would be -10.