Chapter Contents |
Previous |
Next |
PDw.d |
Language element: | format |
Category: | numeric |
Width range: | 1 to 16 |
Default width: | 1 |
Decimal range: | 0 to 10 |
Alignment: | left |
OpenVMS specifics: | overflow behavior |
Syntax | |
Details | |
Example | |
See Also |
Syntax |
PDw.d |
Details |
Under OpenVMS, if the value to be formatted is too large to fit in a field of the specified width, then the PDw.d format does the following:
Example |
If you format the value 300 using the PD1. format, you receive the following hexadecimal string:
'9C'xwhich is the packed decimal representation for 9.
If you format the value -300 using the PD1. format, you receive the following hexadecimal string:
'9D'xwhich is the packed decimal representation for -9.
See Also |
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.