"attempt to compare number <= string"
Does it mean I’m trying to compare a number to a string?
How could I fix this?
"attempt to compare number <= string"
Does it mean I’m trying to compare a number to a string?
How could I fix this?
It means exactly what it says.
You can’t compare number <= string.
If the string is a number, use tonumber(String) instead, then compare it.
try adding to number to the string