Writes standard numeric data one digit per byte
| Category: |
Numeric
|
| Alignment: |
right
|
-
w
-
specifies the width of the output field.
-
d
-
optionally specifies the number of digits
to the right of the decimal point in the numeric value.
The w.d format rounds to the nearest number that fits in the output
field. If w.d is
too small, SAS may shift the decimal to the BESTw.
format. The w.d
format writes negative numbers with leading minus signs. In addition, w.d right aligns before writing
and pads the output with leading blanks.
The
Zw.d format is similar
to the w.d format
except that Zw.d
pads right-aligned output with 0s instead of blanks.
put @7 x 6.3;
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.