Reads numeric values with a comma in place of the decimal
point.
-
w
-
specifies the width of the input field.
-
d
-
specifies the number of digits to the right
of the decimal. If the data contain decimal points, the d
value is ignored. This argument is optional.
The NUMXw.d informat reads numeric values and interprets a comma as a
decimal point.
The
NUMXw.d informat is similar to the w.d informat except that it reads numeric values
that contain
a comma in place of the decimal point.
input @1 x numx10.;
Data Line |
Results |
----+----1----+
|
|
896,48
|
896.48
|
3064,1
|
3064.1
|
6489
|
6489
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.