next up previous
Next: CHR_CTOI - Read an INTEGER value from a string
Up: Routine Descriptions
Previous: CHR_CTOC - Write a CHARACTER string into another string

CHR_CTOD  -  Read a DOUBLE PRECISION value from a string

Description:
Read a DOUBLE PRECISION value from the given character string.

Invocation:
CALL CHR_CTOD( STRING, DVALUE, STATUS )

Arguments:
STRING = CHARACTER ( ) (Given)
The string from which a DOUBLE PRECISION value is to be read.
DVALUE = DOUBLE PRECISION (Returned)
The resulting DOUBLE PRECISION value.
STATUS = INTEGER (Given and Returned)
The status value: if this value is not SAI__OK on input, the routine returns without action; if the routine does not complete successfully, STATUS is returned set to SAI__ERROR.



next up previous
Next: CHR_CTOI - Read an INTEGER value from a string
Up: Routine Descriptions
Previous: CHR_CTOC - Write a CHARACTER string into another string



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