0

Why does the following statement in Python output the integer 19 rather than 20?

int((11.20-11)*100)

I believe there is something about the int function that I do not know about. How is the int function programmed such that the above line of code outputs 19?

Rohan
  • 482
  • 6
  • 16

0 Answers0