Writes zoned decimal data.
Category: | Numeric |
Alignment: | Left |
Windows specifics: | Last byte includes the sign. |
See: | ZDw.d Format in SAS Formats and Informats: Reference |
specifies the number of bytes (not the number of digits).
Default | 1 |
Range | 1–32 |
specifies the number of digits to the right of the decimal point in the numeric value.
Range | 1–10 |
Digit
|
ASCII Character
|
Digit
|
ASCII Character
|
---|---|---|---|
0
|
{
|
−0
|
}
|
1
|
A
|
−1
|
J
|
2
|
B
|
−2
|
K
|
3
|
C
|
−3
|
L
|
4
|
D
|
−4
|
M
|
5
|
E
|
−5
|
N
|
6
|
F
|
−6
|
O
|
7
|
G
|
−7
|
P
|
8
|
H
|
−8
|
Q
|
9
|
I
|
−9
|
R
|
data a; x = 1e308; y = put(x, ZD32.2); put y = hex16.; run;the result is a sequence of 39s:
y=3939393939393939