Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Previous Book Contents Book Index Next

Inside Macintosh: Operating System Utilities /
Chapter 3 - Mathematical and Logical Utilities / Mathematical and Logical Utilities Reference
Routines / Converting Among 32-Bit Numeric Types


Fix2Long

You can use the Fix2Long function to convert a Fixed number to a LongInt number.

FUNCTION Fix2Long (x: Fixed): LongInt;
x
The Fixed number to be converted to a long integer.
DESCRIPTION
The Fix2Long function returns the long integer nearest to the Fixed number you supply in the x parameter. If x is halfway between two integers (0.5), it is rounded to the integer with the higher absolute value.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996

Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2004 Apple Computer, Inc.
All rights reserved. | Terms of use | Privacy Notice