/ Published in: Groovy
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
seriesVal = index sum = sum + seriesVal.pow(index) //println " " + index + " " + sum } return sum }