Open polymeris opened 4 years ago
I would expect (pos? 0) to be false.
(pos? 0)
(dc/pos? (dc/decimal 0)) ;=> true
Also its docstring makes no sense: "Returns true if the value of this Decimal is negative, otherwise returns false."
Related: https://github.com/MikeMcl/decimal.js/issues/62
I would expect
(pos? 0)
to be false.Also its docstring makes no sense: "Returns true if the value of this Decimal is negative, otherwise returns false."