Removes embedded yen signs, commas, and decimal points.
-
w
-
specifies the width of the input field.
-
d
-
specifies the power of 10 by
which to divide the value.
Requirement: |
d must be 0 or 2 |
Tip: |
If the d
is 2, then YENw.d
reads a decimal point and two decimal digits. If d
is 0, YENw.d reads
the value without a decimal point. |
The hexadecimal representation of the
code for the yen sign character is 5B on EBCDIC systems and 5C on ASCII systems.
The monetary character that these codes represent might be different in other
countries.
The following example uses yen as the input.
input value yen10.2;
Value |
Result |
|
----+----1----+
|
¥1254.71
|
1254.71
|
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.