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.

Since: PCC 0.98.3, PCC2 1.99.8

See also: Int

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