Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions
deccvlong()
The
deccvlong()
function
converts an
int4
type value into a
decimal
type value.
Syntax
mint deccvlong(
lng_val
,
dec_val
)
int4 lng_val;
dec_t *dec_val;
lng_val
is the
int4
value that
deccvlong()
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