Writes the monetary format of the local expression for Denmark,
Faroe Island, and Greenland.
Category: |
Numeric
|
Alignment: |
left
|
- w
-
specifies the width of the output field.
- d
-
specifies to divide the number by 10d. If the data contains decimal points, the d value is ignored.
In the following example, the LOCALE= system option is set to English_UnitedStates.
x=put(-1234.56789,nlmnldkk32.2);
y=put(-1234.56789,dollar32.2);
Statements |
Results |
|
----+----1----+
|
put x=;
put y=;
|
(kr1,234.57)
$-1,234.57
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.