![]() Chapter Contents |
![]() Previous |
![]() Next |
| FRACTw. |
| Category: | Numeric |
| Alignment: | right |
| Syntax | |
| Syntax Description | |
| Details | |
| Examples |
Syntax |
| FRACTw. |
| Default: | 10 |
| Range: | 4-32 |
| Details |
Dividing the number 1 by 3 produces the value 0.33333333. To write this value as 1/3, use the FRACTw. format. FRACTw. writes fractions in reduced form, that is, 1/2 instead of 50/100.
| Examples |
put x fract8.;
| Values | Results |
|---|---|
----+----1 |
|
0.6666666667 |
2/3 |
0.2784 |
174/625 |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.