Link to this page
Print this page
Parent topic
:
C API functions
C-Extensions
/
C API functions
deccvflt()
Converts a float to a decimal value.
Syntax
mint deccvflt(float
source
, dec_t *
destination
);
source
is the float value to be converted.
destination
is a pointer to the structure where the decimal value is placed.
Returns
Table 1. Return codes
Code
Description
0
The conversion was successful.
<0
The conversion failed.