Futurebasic/Language/Reference/fix

From Wikibooks, open books for an open world
Jump to navigation Jump to search

FIX function

[edit | edit source]

Function

[edit | edit source]

✔ Appearance ✔ Standard ✔ Console

Syntax

[edit | edit source]

wholeNum# = FIX(expr#)

Description

[edit | edit source]

This function returns a whole number representation of expr# (it strips off digits to the right of the decimal point). Although FIX always returns an integer, the number it returns is considered to be a double-precision floating-point value.

See Also

[edit | edit source]

FRAC; INT