The ifx_int8tolong() function

The ifx_int8tolong() function converts an int8 type number into a C long type number.

Syntax

mint ifx_int8tolong(int8_val, lng_val)
   ifx_int8_t *int8_val;
   int4 *lng_val;
int8_val
A pointer to the int8 structure that contains the value to convert to an int4 integer value.
lng_val
A pointer to an int4 structure to contain the result of the conversion.

Return values

0
The conversion was successful.
-1200
The magnitude of the int8 type number is greater than 2,147,483,647.