Reads the monetary format of the international expression for
the United Kingdom.
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)',nlmnigbp32.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.