09.08.2016, 00:16
PHP код:
new string[15];
format(string, 15, "%i", strval(THE DIGIT INT));
for(new digit = 0; digit < 16; digit += 2) {
//this loops 2 4 6 8 10 12 14
new tempId = strval(string[digit+1])*2;
format(string[digit+1], 1, "%i", tempId);
}
THE DIGIT INT = strval(string);