Removes embedded characters
-
w
-
specifies the width of the input field.
-
d
-
optionally specifies the power of 10 by
which to divide the value. If the data contain decimal points, the d value is ignored.
The COMMAw.d informat reads numeric values and removes embedded commas,
blanks, dollar signs, percent signs, dashes, and right parentheses from the
input data. The COMMAw.d
informat converts a left parenthesis at the beginning of a field to a minus
sign.
The
COMMAw.d
informat operates like the COMMAXw.d informat, but it reverses the roles of the decimal point
and the comma. This convention is common in European countries.
input @1 x comma10.;
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.