Important: The information in this document is obsolete and should not be used for new development.
X2Fix
You can use the X2Fix function to convert anExtended
number to aFixed
number.
FUNCTION X2Fix (x: Extended): Fixed;
x
- The
Extended
number to be converted to aFixed
number.DESCRIPTION
The X2Fix function returns the bestFixed
approximation of theExtended
number you supply in thex
parameter. Ifx
is greater than the maximum representableFixed
number, the X2Fix function returns $7FFFFFFF. Ifx
is less than the negative number with the highest absolute value, X2Fix returns $80000000.