Reads the monetary format of the local expression for
China.
Category: |
Numeric
|
Alignment: |
left
|
- w
-
specifies the width of the output field.
- d
-
optionally 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)',nlmnlcny32.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.