SyntaxFix
Write A Post
Hire A Developer
Questions
There may be other ways to get your desired result.
Declare @a int Declare @b int SET @a = 3 SET @b=2 SELECT cast((cast(@a as float)/ cast(@b as float)) as float)