

ı must make a salary list and the end of page(under of the list number) ı wıll show the number.like a excell.
how can ı write with coldfusıon?help please.
for exp: 1 =10
2=20
30

- Most Recent
- Most Relevant
Good to hear. Can you mark whichever reply you may feel was the answer? That can help future readers.
There are many ways, but perhaps the easiest solution may be to simply convert the list to an array, and then use the CF arraysum function. That could be done in one line (using BKBK’s shown salarylist list):
arraysum(listtoarray(salarylist));
I can’t tell, nurcanb, if you meant to be showing us code in your first example. It looks like maybe you put in CFML and it was lost. You may want to use the “preformatted” option in the drop-down for style while typing here.
Let us know if that code fragment I shared above helps.