0.0 when compared to 0.000000 gets "identical", but it should be "approximate".
One way to solve it is by adding a last check to see if the strings are the same. If the numbers are identical but the strings are different, then the result is changed from identical to approximate. But not sure if this has other unwanted secondary effects.
0.0
when compared to0.000000
gets "identical", but it should be "approximate".One way to solve it is by adding a last check to see if the strings are the same. If the numbers are identical but the strings are different, then the result is changed from identical to approximate. But not sure if this has other unwanted secondary effects.