NLMNLEURw.d Format

Writes the monetary format of the local expression for Austria, Belgium, Finland, France, Germany, Greece, Ireland, Italy, Luxembourg, Malta, the Netherlands, Portugal, Slovenia, and Spain.
Category: Numeric
Alignment: left

Syntax

NLMNLEURw.d

Syntax Description

w
specifies the width of the output field.
Default:12
Range:8–32
d
specifies to divide the number by 10d. If the data contains decimal points, the d value is ignored.
Default:2
Range:0–28

Example

In the following example, the LOCALE= system option is set to German_Germany.
x=put(-1234.56789,nlmnieur32.2);
y=put(-1234.56789,nlmnleur32.2);
Statements
Results
----+----1----+----2----+
put x=;
put y=;
-1.234,57EUR
€-1.234,57

See Also