Ok for the 2DP you need the following instead

Actionscript Code:
ttotal=int((stotal)*100)/100;
where the 2 100's are states the dp lenght so if both are 10 its 1dp, and if both are 1000 its 3dp, this replaces the old
ttotal = Math.round(stotal);

also I forgot to say you can remove all the a1a=0; - a1j=0;
They have no function

If you play with the loop make sure you back up the origional as its not a working file at the moment the loop works bit it doesnt get the values from the array atm.

Also add the stop(); to the top of the actions frame rather than having it seperate.

I think that should sort you out on the whole