14.06.2009, 12:47
I have numbers: 5, 12, 05, 99, 01
How to make one number: 512059901 (0's must be included too)
How to make one number: 512059901 (0's must be included too)
new n1,n2,n3,n4,n5,number;
n1 = 5;
n2 = 12;
n3 = 5;
n4 = 99;
n5 = 1;
new str[128];
format(str,sizeof(str),"%d%d%02d%d%02d",n1,n2,n3,n4,n5);
number = strval(str);