lang • fix

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