Odd behavior comparing doubles, two PHP double values aren't equivalent
Asked 2011-03-11T09:21:16.903
10
I have two seemingly equal double values in PHP (at least when echoing them).
But when comparing them with double equals, for some reason, it evaluates to false. Are there any special considerations when performing this kind of comparison?