Fix2Frac
You can use theFix2Fracfunction to convert aFixednumber to aFractnumber.
FUNCTION Fix2Frac (x: Fixed): Fract;
x- The
Fixednumber to be converted to aFractnumber.DESCRIPTION
TheFix2Fracfunction returns theFractnumber equivalent to theFixednumber x. Ifxis greater than the maximum representableFractnumber, theFix2Fracfunction returns $7FFFFFFF. Ifxis less than the negative number with the highest absolute value,Fix2Fracreturns $80000000.