Link to this page
Print this page
Parent topic
:
C API functions
C-Extensions
/
C API functions
deccvint()
Converts a 4-byte integer value to a decimal value.
Syntax
mint deccvint(mint
in
, dec_t *
np
);
in
is the mint value to convert to a decimal type value.
np
is a pointer to a decimal structure to contain the result of the conversion.
Returns
Table 1. Return codes
Code
Description
0
The conversion was successful.
<0
The conversion failed.