24.09.2010, 10:30
(
Последний раз редактировалось blinr91@gmail.com; 24.09.2010 в 11:28.
)
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!!!
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!!!