I am using either:
CAST( SUM(a.fieldmissed) AS decimal(18,8)) / SUM(a.fieldtotal) *100 AS [Deliveries Missed]
or
SUM(a.fieldmissed)*100.0 / SUM(a.fieldtotal) AS [Deliveries Missed]
to work out % values. However, is there a way I can restrict the output to two decimal places? Not essential but would be handy to know.
Any advice appreciated. Thanks very much.