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