The ifx_int8todec() function

The ifx_int8todec() function converts an int8 type number into a decimal type number.

Syntax

mint ifx_int8todec(int8_val, dec_val)
   ifx_int8_t *int8_val;
   dec_t *dec_val;
int8_val
A pointer to an int8 structure that contains the value to convert to a decimal value.
dec_val
A pointer to a decimal structure to contain the result of the conversion.

Usage

0
The conversion was successful.
<0
The conversion was not successful.

Return values