Comparing floats – same number, but does not equal? [duplicate]

floating point numbers have limited precision. view the warning about comparing them here:

http://php.net/manual/en/language.types.float.php

Leave a Comment