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


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.