SyntaxFix
Write A Post
Hire A Developer
Questions
So, something like
DECLARE @i AS FLOAT = 2 SELECT @i / 3 SELECT CAST(@i / 3 AS DECIMAL(18,2))
I would however recomend that this be done in the UI/Report layer, as this will cuase loss of precision.