strfloat comparison issues
#3

What he did will work, try rephrasing your 'if' statement a little bit

pawn Код:
if( (amount < 0.01) || (amount > 100.0) ) //This means that the number that was typed is outside of 0.01-100.0
Reply


Messages In This Thread
strfloat comparison issues - by MisterTickle - 08.01.2011, 03:24
Re: strfloat comparison issues - by admantis - 08.01.2011, 03:48
Re: strfloat comparison issues - by Joe Staff - 08.01.2011, 03:53
Re: strfloat comparison issues - by MisterTickle - 08.01.2011, 05:12
Re: strfloat comparison issues - by Joe Staff - 08.01.2011, 05:19

Forum Jump:


Users browsing this thread: 1 Guest(s)