Int(n:Num):Int

Convert to integer. If the parameter is a floating-point (fractional) number, truncates its fractional digits and converts it into an integer. If the parameter already is an integer, it is returned as is.

Examples:

   Int(2.5) = 2
   Int(-2.1) = -2

If the parameter is EMPTY, this function returns EMPTY.

Since: PCC 0.98.3, PCC2 1.99.8

See also: Round, 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.