PHP float bug: PHP Hangs On Numeric Value
- by jeroen
I just read an interesting article about php hanging on certain float numbers, see The Register and Exploring Binary.
I never explicitly use floats, I use number_format() to clean my input and display for example prices.
Also, as far as I am aware, all input from for example forms are strings until I tell them otherwise so I am supposing that…