![]() |
|
The dectodbl() function converts a decimal type number into a C double type number.
The floating-point format of the host computer can result in loss of precision in the conversion of a decimal type number to a double type number.
The file dectodbl.ec file in the demo directory contains the following sample program.