Closed Eighke closed 3 years ago
Ugh, is this the "proper" way to handle this? I like the approach but got me thinking about the next version. Stupid behavior indeed! Thanks for the patch.
I saw on PHP docs that float are stupid. I see many are using * pow($number, $decimal) / pow($number, $decimal)
... but well I assumed we are only using 2 decimals max.
100 is not enough. 19.99 will become 19.98...