Comparing floating point numbers
<? $price_1 = 0.00001; $price_2 = 0.000001; if(abs($price_1 - $price_2) < 0.00001) { print '$price_1 and $price_2 are equal.'; } else { print '$price_1 and $price_2 are not equal.'; } ?>