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 don't see any method like equals to compare currency1.equals(currency2). What is the right way for comparing values?
Is c1.value === c2.value safe considering floating point precision?
Please take under consideration implementing .equals, or .compare() method :)
The text was updated successfully, but these errors were encountered:
I don't see any method like
equals
to comparecurrency1.equals(currency2)
. What is the right way for comparing values?Is
c1.value === c2.value
safe considering floating point precision?Please take under consideration implementing .equals, or .compare() method :)
The text was updated successfully, but these errors were encountered: