Sub sets d to the difference x-y.
(d, x, y *Decimal)
| 177 | |
| 178 | // Sub sets d to the difference x-y. |
| 179 | func (c *Context) Sub(d, x, y *Decimal) (Condition, error) { |
| 180 | return c.add(d, x, y, true) |
| 181 | } |
| 182 | |
| 183 | // Abs sets d to |x| (the absolute value of x). |
| 184 | func (c *Context) Abs(d, x *Decimal) (Condition, error) { |