|
The deccmp() function compares two decimal type numbers.
| -1 | The first value is less than the second value. |
| 0 | The two values are identical. |
| 1 | The first value is greater than the second value. |
| DECUNKNOWN | Either value is null. |
The file deccmp.ec in the demo directory contains the following sample program.