Number Format

<< Click to Display Table of Contents >>

Manual > Appendix >

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 decimal points, separators, radix, etc. Examples of situations in which you might specify a number format include the number format passed to a method for displaying numbers, such as CNumToLocale (NL).

 

 

There are the following ways to specify the number format:

 

item

overview

System format

System formats are formats that are pre-prepared within the FA-Server system.

 

The following types of system formats are available for number formatting:

 

type

Number Format Name

Default Format

@NUMBER

ANSI format

@ANSI

ISO format

@ISO

Regional format (auto-switch)

@LOCALE

Regional format (fixed)

Specify the locale ID directly, such as @ja or @en

Binary Format

@BIN

Octal Format

@OCT

Hexadecimal Format

@HEX

 

For more information about system formats, see "Number Formats (System Formats)".

 

 

 

 

hint

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.