Carbon


FixRatio

Header: FixMath.h Carbon status: Supported

Obtains the Fixed equivalent of a fraction.

Fixed FixRatio (
    SInt16 numer, 
    SInt16 denom
);
Parameter descriptions
numer

The numerator of the fraction.

denom

The denominator of the fraction.

function result

The Fixed equivalent of the fraction numer/denom.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)