I want to do a division operation in GSP page.
When I do:
${odimatches.count}/${totalmatches.count}
I should do a division and want to get percentage out of it. When I tried above thing as usual it just displays 10/20 while rendering the page.
Try this:
${(odimatches.count / totalmatches.count)}