I would like to know if there's any way to do math with the contents of a for loop. EX: $fl(0,3,"i+1,"ci(ecount,a+i+d)","+"). This would simply print "0+1+0+2" (it however many event items you have per day).
What i want to do is actually add up those numbers. So instead, id lime the result to be "3"
I've tried escaping the + with \ or ' or by no adding quotation marks. I feel as if fl ONLY outputs text. It would be nice to be able to convert that text to numbers, or have another tool yo do it, like $mu(sum,fl(0,3,"i+1","ci(ecount,a+i+d)",","))$ so in essence it does $mu(sum,0,1,0,2)$ and outputs 3.
Otherwise, the next best thing is $ci(ecount,a0d)+ci(ecount,a1d)+ci(ecount,a2d)+ci(ecount,a3d)$ which is exactly what the fl() does, but this method is not very dynamic.