The Round()
function rounds a number.
Syntax
Round(number)
Round(number, digits)
Returns
A new number that is rounded to a whole number or a number of fractional digits.
Parameters
number
a number.digits
(optional) the number of fractional digitsnumber
is rounded.
Examples
Round(1.5) /* 2 */
Round(1.2) /* 1 */
Round(1) /* 1 */
Round(3.14159265359, 2) /* 3.14 */