Processing math: 100%

CHR_DTOC

Encode a DOUBLE PRECISION value as a string

Description:

Encode a DOUBLE PRECISION value as a character string, using as concise a format as possible, and return the number of characters used. In the event of an error, ’’s are written to the string.

Invocation

CALL CHR_DTOC( DVALUE, STRING, NCHAR )

Arguments

DVALUE = DOUBLE PRECISION (Given)
The value to be encoded.
STRING = CHARACTER ( ) (Returned)
The string into which the value is to be encoded.
NCHAR = INTEGER (Returned)
The field width used in encoding the value.