Fix

Value = Fix ( Number )

Returns the integer part of a number.

Examples

PRINT Fix(Pi)
3

PRINT Fix(-Pi)
-3

The behaviour of Fix and Int are the same for positive number, and are different for negative numbers.

See also