This decimal format (QDECFMT) has two functions.
- It determines the type of zero suppression and decimal point character
used by DDS edit codes 1 through 4 and A through M
- It determines the decimal point character for decimal input fields on
displays
You can change the decimal format to reflect the way decimals are formatted
for your country or location. You can change the decimal format to any one
of the following values:
- (blank)
- If you specify a blank, the system uses a period for a decimal point,
a comma for a 3-digit grouping character, and zero suppression to the left
of the decimal point. For example,
One thousand is formatted as 1,000
and
Four one-hundredths is formatted as .04
- J
- If you specify a J, the system uses a comma for a decimal point, a period
for a 3-digit grouping character, and zero suppression at the second character
to the left of the decimal point. For example,
One thousand is formatted as 1.000
and
Four one-hundredths is formatted as 0,04
- I
- If you specify an I, the system uses a comma for a decimal point, a period
for a 3-digit grouping character, and zero suppression to the left of the
decimal point. For example,
One thousand is formatted as 1.000
and
Four one-hundredths is formatted as ,04
A change to this value takes place immediately.