I am trying to round to 3 decimal places from two variables of type money in SQL Server 2008.
DECLARE @Val1 money = 554.5344
DECLARE @Val2 money = 84020.37
DECLARE @Result decimal(6,5) = @Val1/@Val2 *100
SELECT @Result
The result above is 0.65. With a calculator it is 0.65999995001212, I need the result to be 0.659.