To not confusing you additionally:
instead call function particulary for each member of my array that make table i want to call function to new array wich would consist all members.
i.e.
to preserve this:
code:
q = Math.random()*10000000+Math.random();
trace(q);
q = RoundToQuarter(q);
b = Math.random()*10000000+Math.random();
trace(b);
b= RoundToQuarter(b);
a = Math.random()*10000000+Math.random();
trace(a);
a= RoundToQuarter(a);
trace('denars: ' + EncodeCurrency(q));
trace("b = "+ EncodeCurrency(b));
trace("a = "+ EncodeCurrency(a));


i would like to build something like:
code:

var k = new Array (a, x, b);
k = RoundToQuarter(k);
trace('denars: ' + EncodeCurrency(k));


what you think about?