+ 1

# I dont get it, how is the remainder of 1.25 % 0.5 being 0.25 instead of 0.5?

2 Answers

+ 1

You divide the first number by the second number and the remainder is rest which cannot be divided by the second number without getting a fraction. Example: 1.25 / 0.5 = 2 * 0.5 + 0.25

+ 1

thanks guys. got it.