NLPCTIw.d Format
Writes percentage data of the international expression
in the specified locale.
Category: |
Numeric |
Alignment: |
left |
Syntax
Syntax Description
- w
-
specifies the width
of the output field.
- d
-
specifies to divide
the number by 10d. If the data contains decimal separators, the d value is ignored.
Comparisons
The NLPCTI
w.
d format
writes percentage data of the international expression in the specified
locale. The NLPCT
w.
d format writes the percentage value with locale-dependent
thousand and decimal separators. The NLPCTI
w.
d format writes the percentage
value with a comma (,) as thousand separator and a period (.) as a
decimal separator.
The NLPCT
w.
d format
is similar to the PERCENT
w.
d format except the NLPCT
w.
d format is locale-specific.
Example
In the
following example, the LOCALE= system option is set to English_UnitedStates.
x=put(-12.3456789,nlpcti32.2);
y=put(-12.3456789,percent32.2);