GEOS SDK TechDocs
|
|
|
2 Conversions to Other Types
|
4 Direct FP Operations
FP numbers can be displayed in many ways. For example, as we have seen, an FP number may actually represent a date-time. When we display the FP number 366.0000, we may want to show it (in text) as "Jan 1, 1901." The Math Library has a number of system-defined formats for your use. You may also allow users to define their own formats with the Float Format controller.
The underlying structures and routines to use and create float format options are explained in the next section. In most cases, however, the simple inclusion of a Float Format controller (of
FloatFormatClass
) provides all of the UI and functionality to create and apply formats to FP numbers within text objects.
GEOS SDK TechDocs
|
|
|
2 Conversions to Other Types
|
4 Direct FP Operations