Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions
ifx_int8cvflt()
The
ifx_int8cvflt()
function converts a C
float
type number into an
int8
type number.
Syntax
mint ifx_int8cvflt(
flt_val
,
int8_val
)
double flt_val;
ifx_int8_t *int8_val;
flt_val
is the
float
value that
ifx_int8cvflt
converts to an
int8
type value.
int8_val
is a pointer to the
int8
structure where
ifx_int8cvflt()
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