So while programming using PHP we discovered something odd was happening.
We pulled our numbers from the database and had our results set like normal.
Then we do to evaluate the results in the if statement and if when like such
if(abs($number1 + $number2) < .05){
// do that
}else{
// do that
}
When we printed the output from the abs($number1 + $number2)
it showed a result of .05
, so logically the else part our if statement should have executed but it evaluated .05 < .05
as true
. Why?