Arithmetic to character-string conversion often arises during list-directed stream output, concatenation, or during assignment to a character string.
The arithmetic source value is first converted to a decimal value having the same scale as the source and with a decimal precision determined by the target precision data shown in the table in Arithmetic to Arithmetic Conversion.
The decimal value whose precision is now (p,q) is then converted to a character string whose value is given by one of the following cases: