Math Issue
#1

pawn Код:
CMD:rates(playerid, params[])
{

    new string[128];
    format(string, 128, "Interest: %d%s, %d", IntRate, "%%", IntRate/100);
    SendClientMessage(playerid, COLOR_WHITE, string);
    format(string, 128, "Tax: %d%s, %d", TaxRate, "%%", TaxRate/100);
    SendClientMessage(playerid, COLOR_WHITE, string);
   
    return 1;
}
It shows the correct values for both rates, but when I attempt math with them, it returns 0.
Reply


Messages In This Thread
Math Issue - by austin070 - 28.08.2014, 22:02
Re: Math Issue - by terrance - 29.08.2014, 02:33
Respuesta: Re: Math Issue - by kirk - 29.08.2014, 02:42

Forum Jump:


Users browsing this thread: 1 Guest(s)