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

This is a testing version.
It may be incomplete, and have more bugs (or features) than the public live version at planetscentral.com.