Chapter Contents |
Previous |
Next |
DOLLARXw.d |
Category: | Numeric |
Alignment: | right |
Syntax | |
Syntax Description | |
Details | |
Comparisons | |
Examples | |
See Also |
Syntax |
DOLLARXw.d |
Default: | 6 |
Range: | 2-32 |
Default: | 6 |
Range: | 2-32 |
Details |
The DOLLARXw.d format writes numeric values with a leading dollar sign, with a period that separates every three digits, and with a comma that separates the decimal fraction.
The hexadecimal representation of the code for the dollar sign character ($) is 5B on EBCDIC systems and 24 on ASCII systems. The monetary character that these codes represent may be different in other countries, but DOLLARXw.d always produces one of these codes. If you need another monetary character, define your own format with the FORMAT procedure. See "The FORMAT Procedure" in SAS Procedures Guide for more details.
Comparisons |
Examples |
put @3 netpay dollarx10.2;
Values | Results |
---|---|
----+----1----+ |
|
1254.71 |
$1.254,71 |
See Also |
Formats:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.