![]() Chapter Contents |
![]() Previous |
![]() Next |
| Dw.s |
| Category: | Numeric |
| Alignment: | right |
| Syntax | |
| Syntax Description | |
| Details | |
| Comparisons | |
| Examples |
Syntax |
| Dw.s |
| Default: | 12 |
| Range: | 1-32 |
| Default: | 3 |
| Range; | 0-16 |
| Requirement: | must be less than w |
| Details |
The Dw.s format writes numbers so that the decimal point aligns in groups of values with similar magnitude.
| Comparisons |
| Examples |
put @1 x d10.4;
| Values | Results |
|---|---|
----+----1----+----2 |
|
12345 |
12345.0 |
1234.5 |
1234.5 |
123.45 |
123.45000 |
12.345 |
12.34500 |
1.2345 |
1.23450 |
.12345 |
0.12345 |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.