0

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?

Lars Ebert
  • 3,487
  • 2
  • 24
  • 46

0 Answers0