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
Version | Status | Notes |
10.0 | No Change | Carried over from Panorama 6.0 |