0

how is

1.25 % 0.5 0.25

26th Jul 2016, 4:21 PM
Irfandi Lutfi
Irfandi Lutfi - avatar
2 Answers
0
The % operation gives the remainder produced when dividing the second oprand from the first so: 0.5 goes into 1.25 twice but leaves a remainder of 0.25
26th Jul 2016, 6:06 PM
Rob McBryde
Rob McBryde - avatar
0
% is only asking for the remainder produced, which will clearly be less than 0.5
30th Jul 2016, 1:43 AM
duck