You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
Maybe I'm missing something, but could we get some quality of life functions?
For example, you already have isFinite() and isNaN(); to avoid having to create a Decimal for comparison sake, or relying on internal structures within the library that might change, could we have the equivalents of:
Hi there,
Maybe I'm missing something, but could we get some quality of life functions?
For example, you already have isFinite() and isNaN(); to avoid having to create a Decimal for comparison sake, or relying on internal structures within the library that might change, could we have the equivalents of:
From break_infinity.js
From decimal.js
You could also have isInteger(), isMax(), isMin(), etc.
Hope that helps, thanks for a great library.
Additional:
I know/believe we could do something like this isNegative():
or the shorter
I just feel that a set of standard helper functions would be great, and would help separate our code from internal structures and representations.
The text was updated successfully, but these errors were encountered: