I am trying to compare to numbers of type float and it keeps returning that they are not the same. So I printed them to the screen right before they are compared and I am getting this:
216.9000008 = 216.9000000
All I care about is 216.90, how can I just compare the up to 2 digits past the decimal point?
216.9000008 = 216.9000000
All I care about is 216.90, how can I just compare the up to 2 digits past the decimal point?