Hi guys,I am writing a script and stuck on a round element which I am struggling at fixing. My code at the moment outputs the result to 6 decimal places instead of 2 decimal places. sum(case when acct_type <> 'I' then sign*(amount*rate) else 0 end)
Result: 0.005270I had ago at modifying my code but having no such luck. any pointers?convert(money,(sum(round(case when acct_type <> 'I' then sign*(amount*rate) else 0 end)))))