Writes numeric values with a comma in place of the decimal
point.
Category: |
Numeric
|
Alignment: |
right
|
-
w
-
specifies the width of the output field.
-
d
-
specifies the number of digits to the right
of the decimal point (comma) in the numeric value. This argument is optional.
The NUMXw.d format writes numeric values with a comma in place of the
decimal point.
The NUMXw.d format is similar to the
w.d format except that NUMXw.d writes numeric values with a comma in place of the
decimal
point.
put x numx10.2;
Value of x |
Results |
|
----+----1----+
|
896.48
|
896,48
|
64.89
|
64,89
|
3064.10
|
3064,10
|
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.