LessThan (LT) returns true when d is less than d2.
(d2 Decimal)
| 1342 | |
| 1343 | // LessThan (LT) returns true when d is less than d2. |
| 1344 | func (d Decimal) LessThan(d2 Decimal) bool { |
| 1345 | return d.Cmp(d2) == -1 |
| 1346 | } |
| 1347 | |
| 1348 | // LessThanOrEqual (LTE) returns true when d is less than or equal to d2. |
| 1349 | func (d Decimal) LessThanOrEqual(d2 Decimal) bool { |