SyntaxFix
Write A Post
Hire A Developer
Questions
I don't know exactly what you are doing, but float("inf") gives you a float Infinity, which is greater than any other number.
float("inf")