![]() |
|
The decsub() function subtracts two decimal type values.
The difference can be the same as either n1 or n2.
0 | The operation was successful. |
-1200 | The operation resulted in overflow. |
-1201 | The operation resulted in underflow. |
The file decsub.ec in the demo directory contains the following sample program.