The ifx_int8todbl() function

The ifx_int8todbl() function converts an int8 type number into a C double type number.

Syntax

mint ifx_int8todbl(int8_val, dbl_val)
   ifx_int8_t *int8_val;
   double *dbl_val;
int8_val
A pointer to the int8 structure that contains the value to convert to a double value.
dbl_val
A pointer to a double variable to contain the result of the conversion.

Usage

The floating-point format of the host computer can result in loss of precision in the conversion of an int8 type number to a double type number.

Return values

0
The conversion was successful.
<0
The conversion failed.