Home Forums SQL Server 7,2000 T-SQL Everything Works BUT... RE: Everything Works BUT...
NPeeters
SSChampion
Points: 12358
More actions
August 15, 2003 at 2:32 pm
#470157
What is the type of the variables? If you're using integers, your division is an integer division, truncating the fractional part.
Check the division operator in BOL for more info.