+ 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.
27th Feb 2018, 3:24 PM
Fata1 Err0r
Fata1 Err0r - avatar