───D2C(wholenumber ─┬─────┬─)────── └─,n──┘
D2C returns a character string that is the ASCII representation of the decimal number. If you specify n, it is the length of the final result in characters and leading blanks are added to the output character.
If n is not specified, wholenumber must be a nonnegative number and the resulting length is as needed; therefore, the returned result has no leading 00x characters.
Here are some examples:
D2C(65) -> 'A' /* '41'x is an ASCII 'A' */ D2C(65,1) -> 'A' D2C(65,2) -> ' A' D2C(65,5) -> ' A' D2C(109) -> 'm' /* '6D'x is an ASCII 'm' */ D2C(-109,1) -> 'o' /* '147'x is an ASCII 'o' */ D2C(76,2) -> ' L' /* '76'x is an ASCII ' L' */ D2C(-180,2) -> ' L'