Value = Fix ( Number )

Returns the integer part of a number.

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.

Int

Arithmetical Functions