BTW, I dont know the context of where your set of numbers of coming from, but if you have a repeat group and want to, say, generate an average of all the values entered, then there is a very useful function - sum() - which, when used in conjunction with count() - can be used to calculate an average (which is far less messy than writing a bunch of ${a1} + ${a3} + ${a3} …). Again, this is intended for calculation against multiple values collected via a repeat group.