• 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.