fix(
fix(
VALUE
)

The fix( function converts a number to an integer, truncating toward zero.

Parameters

This function has one parameter:

value – is the input value.

Description

The fix( function converts a number to an integer, truncating toward zero. (The int( function is similar, but truncates toward negative infinity.)

    fix(4.5) ☞ 4
    fix(-4.5) ☞ -4

See Also

- ceil( --
- int( -- converts a number to an integer, truncating toward negative infinity.

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0