+ 2
What language you dealing with?
Most often, if you want it to return that type of result, you'll want to divide with floats instead of dividing with integers. Integers don't operate like floats, and is why you'd normally use modulo to get their remainder.