![]() |
Fix2Long |
||||
Header: | FixMath.h | Carbon status: | Supported | |
Converts a Fixed number to a LongInt number.
SInt32 Fix2Long ( Fixed x );
The Fixed number to be converted to a long integer.
The long integer nearest to the Fixed number x. If x is halfway between two integers (0.5), it is rounded to the integer with the higher absolute value.
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)