int is documented to return an integer
Did you read the original post at all? There is demo code that shows how int() returns a floating point value.
In reply to Re^8: Reliably parsing an integer
by rdiez
in thread Reliably parsing an integer
by rdiez
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |