my quest Answer, please.
#1

Answer, please.

The .. Real number variables in the "." Number behind

There's a way to obtain let me know.


Ex new Float:Test;

Test = 3.14;
3.14 = 0.14

ex2

Text = 5.23;
5.23 = 0.23


i'm from korea.
I'm very aware I can not speak English.
Please forgive me.


RE:

stock strfloatValue(Float:cval)
{
new str[32];
new getval;
format(str,sizeof(str),"%.2f",cval);
getval = strfind(str, ".", true);
format(str[getval], 12, "Doller%dSent",cval);
return str;
}

<< ERROR!!!
Reply


Messages In This Thread
my quest Answer, please. - by blinr91@gmail.com - 24.09.2010, 10:30
Re: my quest Answer, please. - by Wennicke - 24.09.2010, 10:50
Re: my quest Answer, please. - by blinr91@gmail.com - 24.09.2010, 11:01
Re: my quest Answer, please. - by sekol - 24.09.2010, 11:26
Re: my quest Answer, please. - by blinr91@gmail.com - 24.09.2010, 11:27
Re: my quest Answer, please. - by -Sneaky- - 24.09.2010, 11:32
Re: my quest Answer, please. - by blinr91@gmail.com - 24.09.2010, 12:10

Forum Jump:


Users browsing this thread: 1 Guest(s)