2 ms·
In Ruby there is % which gives you remainders. When we first teach children about division we teach them that, "17/5 = 3 with a remainder of 2". It is only la
by btilly 8y ago
In Ruby there is % which gives you remainders.
When we first teach children about division we teach them that, "17/5 = 3 with a remainder of 2". It is only later that they learn about decimal points and learn to say that 3.4 is the answer.