SyntaxFix
Write A Post
Hire A Developer
Questions
You can call int() on the end result:
int()
>>> int(2.0) 2