![]() Chapter Contents |
![]() Previous |
![]() Next |
| COMMAw.d |
| Category: | Numeric |
| Alignment: | right |
| Syntax | |
| Syntax Description | |
| Details | |
| Comparisons | |
| Examples | |
| See Also |
Syntax |
| COMMAw.d |
| Default: | 6 |
| Range: | 2-32 |
| Tip: | Make w wide enough to write the numeric values, the commas, and the optional decimal point. |
| Range: | 0-31 |
| Requirement: | must be less than w |
| Details |
The COMMAw.d format writes numeric values with commas that separate every three digits and a period that separates the decimal fraction.
| Comparisons |
| Examples |
put @10 sales comma10.2;
| Values | Results |
|---|---|
----+----1----+----2 |
|
23451.23 |
23,451.23 |
123451.234 |
123,451.23 |
| See Also |
| Formats:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.