In services/Util.grails

def public static round2={x| Math.round(x*100)/100}

while in the controllers you can call:

Util.round2.call(ter)

Note: Util.round2(ter) does NOT work if the definition is the service while it works in the console