Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
Converting Among 32-Bit Numeric Types
The Operating System includes functions that allow you to convert among variables of typeLongInt,Fixed, andFract. TheLong2FixandFix2Longfunctions convert betweenLongIntvariables andFixedvariables. TheFix2Fracfunctions andFrac2Fixfunctions convert betweenFixedandFractvariables. Ordinarily, there is no need to convert betweenLongIntandFractvariables, becauseFractvariables are used only to represent very small numbers. If you wish to do so, however, you can combine functions shown in this section.
Subtopics
- Long2Fix
- Fix2Long
- Fix2Frac
- Frac2Fix
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |