Reads the monetary format of the international expression for
Austria, Belgium, Finland, France, Germany, Greece, Ireland, Italy, Luxembourg,
Malta, the Netherlands, Portugal, Slovakia, Slovenia, and Spain.
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=input'($12,345.67)',nlmnieur32.2);
y=input'($12,345.67)'dollar32.2);
Statements |
Results |
|
----+----1----+
|
put x=;
put y=;
|
-12345.67
-12345.67
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.