03.07.2012, 15:29
Hello Community, did anyone knows if i enter a value like 9999999999 then it's only returns 1.410.065.407 but i want to get 9.999.999.999 anyone knows how to solve this ?
pawn Код:
stock GetCashResult(Betrag)
{
new idx[20], part;
format(idx, sizeof(idx), "%i", Betrag);
part = strlen(idx)-3;
while(part > 0)
{
strins(idx, ".", part);
part -= 3;
}
return idx;
}