Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Operating System Utilities /
Chapter 3 - Mathematical and Logical Utilities / Mathematical and Logical Utilities Reference
Routines / Converting Between Fixed-Point and Integral Values


FixRatio

You can use the FixRatio function to obtain the Fixed equivalent of a fraction.

FUNCTION FixRatio (numer, denom: Integer): Fixed;
numer
The numerator of the fraction.
denom
The denominator of the fraction.
DESCRIPTION
The FixRatio function return the Fixed equivalent of the fraction numer/denom.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996