TRANSFORM((sum(tobt)/sum(tmax))*100,"##.##") AS PERCENTAGE,;this compute the division, round the result to two decimal, and convert to char:
TRANSFORM(ROUND((SUM(tobt)/SUM(tmax))*100,2),"##.##") AS PERCENTAGEu;This is simple and faster, because it round implicitly, but it have a bug and can return wrong values:
STR((SUM(tobt)/SUM(tmax))*100,4,2) AS PERCENTAGEu;P.S. However, also Round () it is not perfect