round(value)

Calculates the integer closest to the value parameter. For example, round(9.2) returns the value 9.

Type: function

Parameter(s):

  • value {Number}:

    The value to be rounded.

Returns:

  • {Number}:

    The rounded value.