Viewing 2 posts - 1 through 2 (of 2 total)
If multiplication happened before division than these would return the same answer, but they dont.
Declare @Salary int
Set @Salary = 85199
Select @Salary/100*115, @Salary/(100*115)
Edit: please note this is not a solution to...
November 26, 2009 at 1:35 pm
#1084704
Since \ and * share the same precidence, does that not mean that if we have salary*115/100 that the salary*115 part will happen first? Or is there no guarentee...
November 26, 2009 at 8:30 am
#1084612