14.03.2014, 14:55
pawn Code:
stock Comma(numbers)
{
new temp[24],counter = -1;
valstr(temp,numbers);
for(new i = strlen(temp);i > 0; i--)
{
counter++;
if(counter == 3)
{
strins(temp,",",i);
counter = 0;
}
}
return temp;
}
pawn Code:
Comma(WhateverNumbers);