ROUND

ROUND(arg1, arg2) → { number | string | boolean }

Rounds a number to a specified number of digits.

Parameters:

Name Type Description
arg1 number

Is the number you want to round.

arg2 number

Is the number of digits to which you want to round. Negative rounds to the left of the decimal point; zero to the nearest integer.

Returns:

Type
number | string | boolean