I am new to grails and I am trying to use a variable as an array index within GSP
but it is not working, is this doable in GSP?

```
<g:set var="counter" value="${0}"></g:set>
<td align="center">${arr[${counter}][1]?.toDouble()}</td>

```

I appreciate the help