Menu

#2081 d2c left pads with "00"X, but docs are ambiguous

5.3.0
open
nobody
None
none
5
3 days ago
3 days ago
No

rexxref 5.1.7.57 - d2c(n)

Returns a string, in character format, that is the ASCII representation of the receiving string, a decimal
number. If you specify n, it is the length of the final result in characters; leading blanks are added to
the returned string
. The n must be a positive whole number or zero. The receiving string must not have more digits than the current setting of NUMERIC DIGITS. If you omit n, the receiving string must be a positive whole number or zero, and the result length is as needed. Therefore, the returned result has no leading "00"x characters.

Discussion

Anonymous
Anonymous

Add attachments
Cancel