The ifx_int8cvdec() function
The ifx_int8cvdec() function converts a decimal type value into an int8 type value.
Syntax
mint ifx_int8cvdec(dec_val, int8_val)
dec_t *dec_val;
ifx_int8_t *int8_val;
- dec_val
- A pointer to the decimal structure that contains the 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.