Chapter Contents |
Previous |
Next |
COMMAw.d |
Category: | Numeric |
Syntax | |
Syntax Description | |
Details | |
Comparisons | |
Examples |
Syntax |
COMMAw.d |
Default: | 1 |
Range: | 1-32 |
Range: | 0-31 |
Details |
The COMMAw.d informat reads numeric values and removes embedded commas, blanks, dollar signs, percent signs, dashes, and right parentheses from the input data. The COMMAw.d informat converts a left parenthesis at the beginning of a field to a minus sign.
Comparisons |
Examples |
input @1 x comma10.;
Data Lines | Results |
---|---|
----+----1----+ |
|
$1,000,000 |
1000000 |
(500) |
-500 |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.