>>-.---.--NLS-CURRENCY-LENGTH-"length"------>< +-/-+
Default: | NLS-CURRENCY-LENGTH"1" |
Phase: | Syntax check |
$SET: | Initial |
The NLS directive must be set for this directive to take effect.
The currency symbol will be truncated or padded with spaces if the length of the current locale's currency symbol differs from the specified length.
The currency sign for the Albanian locale is "Lek". For a data item of PIC $999, value 123, the directive will have the following results:
Directive setting | Result |
---|---|
Unspecified, or NLS-CURRENCY-LENGTH"1" | "L123" |
NLS-CURRENCY-LENGTH"2" | "Le123" |
NLS-CURRENCY-LENGTH"3" | "Lek123" |
NLS-CURRENCY-LENGTH"4" | " Lek123" |