Does it make sense to have a is_zero function?
apr94 opened this issue · comments
If not, what is the idiomatic way to check if a Decimal is equal to zero?
Thanks!
You can do: Decimal.equal?(x, 0)
.
Arbitrary precision decimal arithmetic
apr94 opened this issue · comments
If not, what is the idiomatic way to check if a Decimal is equal to zero?
Thanks!
You can do: Decimal.equal?(x, 0)
.