|
<< Click to Display Table of Contents >> Number Format |
overview
This chapter describes the specifications for number formats.
A number format is a format specification for specifying the format for displaying numbers, such as the decimal point, delimiter, radix, etc. Examples of situations in which you might specify a number format include specifying the format for a "Number Display Part" in the parts library, or the number format passed to a method for displaying numbers, such as CNumToLocale (NL).
FA-Panel allows you to flexibly set the number format. In addition to displaying numbers in various formats around the world, you can also set your own format.
(Various numerical values displayed using library parts)

There are the following ways to specify the number format:
item |
overview |
||||||||||||||||||
System formats are formats that are pre-prepared within the FA-Panel system.
The following types of system formats are available for number formatting:
For more information about system formats, see "Number Formats (System Formats)".
|
|||||||||||||||||||
User formats can be created by users by defining their own free formats.
User format definitions for number formats are registered against the NumberFormatConf root property.
Furthermore, you can freely customize the behavior of the default format by overriding the system default format (@NUMBER) or ANSI format (@ANSI) in the user format definition.
For more information about user formats, see "Number Formats (User Formats)".
|
|
If you omit the specification of the number format in methods related to numeric display, the behavior will be the same as if you specified the system format "@NUMBER" (default format) in the table above. |