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


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0