round
Description
Returns the closest long to the number.
Usage
Client side: Y
Server side: Y
Syntax
Integer round(Number number)
Argument
number
The number to be calculated. The argument can by any number.
Return
Returns the closest long to the number. If the number is empty, on server side, 0 will be returned, on client side, empty will be returned.
Example
round(15.234)
returns 15
round(15.5)
returns 16
Go up to