Carbon


FixRatio

Header: FixMath.h Carbon status: Supported

Obtains the Fixed equivalent of a fraction.

Fixed FixRatio (
    SInt16 numer, 
    SInt16 denom
);
numer

The numerator of the fraction.

denom

The denominator of the fraction.

function result

The Fixed equivalent of the fraction numer/denom.0

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)