Wrap the whole calculation in CAST with desired precision:
--
Plamen Ratchev
http://www.SQLStudio.com
SELECT CAST((group_total / CAST(total AS DECIMAL(10, 2))) * 100 AS DECIMAL(5, 2)) ...
--
Plamen Ratchev
http://www.SQLStudio.com