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

Converting Among 32-Bit Numeric Types

The Operating System includes functions that allow you to convert among variables of type LongInt, Fixed, and Fract. The Long2Fix and Fix2Long functions convert between LongInt variables and Fixed variables. The Fix2Frac functions and Frac2Fix functions convert between Fixed and Fract variables. Ordinarily, there is no need to convert between LongInt and Fract variables, because Fract variables are used only to represent very small numbers. If you wish to do so, however, you can combine functions shown in this section.


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.

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