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