08.01.2011, 03:24
Okay so I convert the string of the inputtext of a dialog to a float than try to compare it between 0.01 and 100.0 but, It doesn't seem to be working properly.
Any ideas?
Код:
new Float:amount = floatstr(inputtext); if(amount < 0.01 || amount > 100.0)