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
I was wondering whether it would make sense, similar to Zero, to define var's like One, Two .. Ten, Hundred, Thousand, and perhaps Half, Quarter ... ? Make it easier to use these values in Decimal's math/comparison functions?
Ie var One New(1,0)
var Half New(5,-1)
The text was updated successfully, but these errors were encountered:
@kempeng Personally, I'm not convinced of this idea. I've never saw a decimal library that provides such constant as public API. The zero value in the decimal library was created only to make computations faster.
I was wondering whether it would make sense, similar to Zero, to define var's like One, Two .. Ten, Hundred, Thousand, and perhaps Half, Quarter ... ? Make it easier to use these values in Decimal's math/comparison functions?
Ie var One New(1,0)
var Half New(5,-1)
The text was updated successfully, but these errors were encountered: