The ifx_int8toflt() function
The ifx_int8toflt() function converts an int8 type number into a C float type number.
Syntax
mint ifx_int8toflt(int8_val, flt_val)
ifx_int8_t *int8_val;
mint *flt_val;
- int8_val
- A pointer to an int8 structure that contains the value to convert to a float value.
- flt_val
- A pointer to a float variable to contain the result of the conversion.
Usage
The ifx_int8toflt() library function converts an int8 value to a C float. The size of a C float depends upon the hardware and operating system of the computer you are using.
Return values
- 0
- The conversion was successful.
- <0
- The conversion failed.