Explanation:
simply do the division.
as a fraction is basically nothing else than a division of the upper number by the lower number.
2 divided by 5
2/5 = 0.4
remember, how division works :
first the outmost left digit(s) divided by the digits of the right number. we use the same number of digits on both sides.
2 / 5 = 0
the first step gives us a 0, because 2 cannot be divided by 5.
then we pull down the next digit from the left side.
if we don't have any (as in this case), we simply pull a 0.
20 / 5 = 0.4
when we pull digits on the left side after the decimal point, then the result gets the decimal point exactly at that position.
20/5 = 4, so the 4 goes into the first position after the decimal point.
and therefore, the final result is
2/5 = 0.4