next up previous
Next: CHR_PUTI - Put an INTEGER value into a string at a given position
Up: Routine Descriptions
Previous: CHR_PUTC - Put a CHARACTER string into another at a given position

CHR_PUTD  -  Put a DOUBLE PRECISION value into a string at a given position

Description:
The DOUBLE PRECISION value is encoded into a concise string which is then copied into the given string beginning at position IPOSN+1. IPOSN is returned updated to indicate the end position of the encoded number within STRING. This is a combination of CHR_DTOC and CHR_PUTC.

Invocation:
CALL CHR_PUTD( DVALUE, STRING, IPOSN )

Arguments:
DVALUE = DOUBLE PRECISION (Given)
The value to be encoded into the string.
STRING = CHARACTER ( ) (Given and Returned)
The string into which DVALUE is to be copied.
IPOSN = INTEGER (Given and Returned)
The position pointer within STRING.



next up previous
Next: CHR_PUTI - Put an INTEGER value into a string at a given position
Up: Routine Descriptions
Previous: CHR_PUTC - Put a CHARACTER string into another at a given position



CHR Character Handling Routines
Starlink User Note 40
A C Charles
P C T Rees
A J Chipperfield
2 August 1995
E-mail:ussc@star.rl.ac.uk