The ifx_int8cvdbl() function

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

Syntax

mint ifx_int8cvdbl(dbl_val, int8_val)
   double dbl_val;
   ifx_int8_t *int8_val;
dbl_val
The double value to convert to an int8 value.
int8_val
A pointer to an int8 structure to contain the result of the conversion.

Return values

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