Thanks Peter87! I have now get it. I just divided 5 by 2 manually then getting the remainder of 1. What I did wrong before I got the answer is that:
(Answered manually.)
5 / 2 = 2
2 x 2 = 4
5 - 4 = 1 (this is where you get the answer which is the REMAINDER)
But my little brain continued to answer and I had added decimal point after 5 then adding 0 which is WRONG! haha...
10 / 2 = 5
5 x 2 = 10
10 - 10 = 0
Now I got the total answer of 2.5 and I thought that 5 is the answer of 5 % 2... lol.