Previous: SDDS_ClearErrors
Up: Manual Pages
Next: SDDS_CopyTable
Previous Page: SDDS_ClearErrors
Next Page: SDDS_CopyTable
- name:
SDDS_ConvertToDouble
- description:
Converts an item of data from a specified type into a double precision value.
- synopsis:
#include "SDDS.h"
double SDDS_ConvertToDouble(long type, void *data, long index)
- arguments:
- type: The type of the data. Must be one of the constants (defined in SDDS.h)
SDDS_DOUBLE, SDDS_FLOAT, SDDS_LONG, SDDS_SHORT, or SDDS_CHARACTER.
- data: The reference address of the data to be converted.
- index: The offset of the address of the item to be converted from the reference address, in units
of the size of the declared type.
- return value:
The double precision value is returned. If an error occurs, zero is
returned and an error message is recorded.
- see also: