strval
#4

Quote:
Originally Posted by thuron
but doesnt floatstr make a float into a string?? and what do you mean by the float tag?
No, floatstr turns a string into a float.

And by the Float tag, I mean...

pawn Code:
new Float:var, var2, string[10];
format(string,10,"1.34534");

var = floatstr(string);
var2 = floatstr(string); //var2 did not have the Float tag that tells the compiler that it will contain a floating point number. This is line 5.

/*
compiler output:
C:\blahblahblah(5) : warning 213: tag mismatch
*/
Reply


Messages In This Thread
strval - by thuron - 08.08.2009, 09:17
Re: strval - by kc - 08.08.2009, 09:25
Re: strval - by thuron - 08.08.2009, 09:27
Re: strval - by kc - 08.08.2009, 09:37
Re: strval - by thuron - 08.08.2009, 09:40
Re: strval - by MenaceX^ - 08.08.2009, 09:52
Re: strval - by thuron - 09.08.2009, 13:35

Forum Jump:


Users browsing this thread: 1 Guest(s)