Returns the nearest integer of the number x.
Round( x ) Round( x, #places )
X | Number to be rounded. If the decimal part of x is less than 0.5, then the next smaller integer is returned, if the decimal part of x is greater than or equal to 0.5 the next greater integer is returned. |
---|---|
#places | Number of decimal places to that x will be rounded. Please note that the method RoundHalfUp is used within this function. |
Numeric value
round (3.2) //3 round (1.5) //2 round (7.7) //8