NLMNIGBPw.d Format

Writes the monetary format of the international expression for the United Kingdom.
Category: Numeric
Alignment: left

Syntax

NLMNIGBPw.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 English_UnitedStates.
x=put(-1234.56789,nlmnigbp32.2);
y=put(-1234.56789,dollar32.2);
Statements
Results
----+----1----+
put x=;
put y=;
(GBP1,234.57) 
$-1,234.57

See Also