| Informats |
| Category: | Numeric |
| Syntax | |
| Syntax Description | |
| Details | |
| Examples |
Syntax |
| TRAILSGNw. |
| Details |
If the data contains a decimal point, the TRAILSGN informat honors the number of decimal places that are in the input data. If the data contains a comma, the TRAILSGN informat reads the value, ignoring the comma.
| Examples |
input x trailsgn8.;
| Data Line | Results |
|---|---|
----+----1----+ |
|
1 |
1 |
1,000 |
1000 |
1+ |
1 |
1- |
-1 |
1.2 |
1.2 |
1.2+ |
1.2 |
1.2- |
-1.2 |
Copyright © 2011 by SAS Institute Inc., Cary, NC, USA. All rights reserved.