The ifx_int8cvflt() function

The ifx_int8cvflt() function converts a C float type number into an int8 type number.

Syntax

mint ifx_int8cvflt(flt_val, int8_val)
   double flt_val;
   ifx_int8_t *int8_val;
flt_val
The float 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.