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, Elementary Functions