Round(n:Num):Int

Round to integer. If the parameter is a floating-point (fractional) number, it is rounded using the usual arithmetic rules: .5 or higher rounds up towards infinity, below rounds down towards 0. If the parameter already is an integer, it is returned as is.

Examples:

  Round(2.5) = 3
  Round(-2.5) = -3

If the parameter is EMPTY, this function returns EMPTY.

See also: Int, Elementary Functions