Rounds x
to the nearest integer. If equidistant between 2 integers, the function breaks ties by rounding to the even number.
Syntax
round(x)
Parameters
x
can be any of the following data types:
long, money, or double.
Examples
round(1.4)
= 1round(1.6)
= 2round(1.5)
= 2round(2.5)
= 2round(-1.5)
= -2round(-2.5)
= -2