IsZero return true if d == 0 false if d > 0 false if d < 0
()
| 1387 | // false if d > 0 |
| 1388 | // false if d < 0 |
| 1389 | func (d Decimal) IsZero() bool { |
| 1390 | return d.Sign() == 0 |
| 1391 | } |
| 1392 | |
| 1393 | // Exponent returns the exponent, or scale component of the decimal. |
| 1394 | func (d Decimal) Exponent() int32 { |
no test coverage detected