I just ran into a peculiar problem in PHP. What should this result in?
floor(100 * (5.8 - floor(5.8)))
This should equal 80
, but I keep getting 79
, which is obviously wrong. Any suggestions? Does anyone have the same problem?
I just ran into a peculiar problem in PHP. What should this result in?
floor(100 * (5.8 - floor(5.8)))
This should equal 80
, but I keep getting 79
, which is obviously wrong. Any suggestions? Does anyone have the same problem?