The deccvdbl() function converts a C double type number into a decimal type number.
The file deccvdbl.ec in the demo directory contains the following sample program.