Why is this if statement does not work?
6 views (last 30 days)
madhan ravi on 20 Feb 2020
Edited: madhan ravi on 20 Feb 2020
Because they are float numbers, reading the below links might help you better about floating numbers:
You could add tolerance to satisfy the conditions , search inside the forum with the tag "floating point" you would find lots of explanations about it.