Number conversion operations

The TNumberFormatter::Format member function takes the numerical value wrapped in a TFormattableNumber instance and produces a textual representation, as specified by the particular class derived from TNumberFormatter.

The TNumberFormatter::Scan member function parses the specified range of a text instance, converting the text string into a double wrapped in a TFormattableNumber instance. Any leading zeroes in the text string are skipped.

This figure shows how the TNumberFormatter Format and Scan functions process formattable data.



[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker