int(
int(
VALUE
)

The int( function converts a number to an integer, truncating toward negative infinity.

Parameters

This function has one parameter:

value – is the input value.

Description

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

    int(4.5) ☞ 4
    int(-4.5) ☞ -5

See Also

- fix( --
- ceil( -- converts a number to an integer, truncating toward positive infinity.

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.