d1 doesn't equal d2 - how to use a 'delta' to correct this?
Hi all,
quick question:
I have 2 doubles (amount money)
d1 = 722.0899999999999and
d2 = 722.09
obviously d1 is 722.09, but when I compare them d1.equals(d2) the return result is false (of course).
what's the best way to make sure that a delta of 0.001 is legit and the return result is true?
thanks!

