declare 
    @value decimal(24, 4)
,   @expression nvarchar(4000)

set @expression = concat(N'select @value = ', N'3.0 / 4 + 3.2')

exec sp_executesql @expression, N'@value decimal(24, 4) output', @value output
print @value