Carbon


Frac2Fix

Header: FixMath.h Carbon status: Supported

Converts a Fract number to a Fixed number.

Fixed Frac2Fix (
    Fract x
);
Parameter descriptions
x

The Fract number to be converted to a Fixed number.

function result

The Fixed number that best approximates the Fract number x.

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)