Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions
ifx_int8todec()
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
is a pointer to an
int8
structure whose value
ifx_int8todec()
converts to a
decimal
type value.
dec_val
is a pointer to a
decimal
structure
in which
ifx_int8todec()
places the result of the conversion.
Return Codes
0
The conversion was successful.
<0
The conversion was not successful.
Informix DataBlade API Programmer's Manual
, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved