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 anExtendednumber to aFixednumber.
FUNCTION X2Fix (x: Extended): Fixed;
x- The
Extendednumber to be converted to aFixednumber.DESCRIPTION
The X2Fix function returns the bestFixedapproximation of theExtendednumber you supply in thexparameter. Ifxis greater than the maximum representableFixednumber, the X2Fix function returns $7FFFFFFF. Ifxis less than the negative number with the highest absolute value, X2Fix returns $80000000.