C-Extensions / C API functions |
Adds two decimal values.
mint decadd(dec_t *n1, struct decimal *n2, struct decimal *n3);
Code | Description |
---|---|
0 | The operation was successful. |
-1200 | The operation resulted in overflow. |
-1201 | The operation resulted in underflow. |