As shown in attached screenshot. I have two variables in my script.
- Distance_error- an local variable whose value at one point of time comes 0.001
- distance_resolution – a global variable which is constant as 1e-3.( which is of course 0.001)
Now if I compare these two varibles it doesnt give 'TRUE while if I put values a 0.001==1e-3, then the logical answer is TRUE.
How come this is possible?
Best Answer