Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions
deccvint()
The
deccvint()
function
converts a C
int
type number into a
decimal
type number.
Syntax
mint deccvint(
int_val
,
dec_val
)
mint int_val;
dec_t *dec_val;
int_val
is the
mint
value that
deccvint()
converts to a
decimal
type value.
dec_val
is a pointer to a
decimal
structure where
deccvint()
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