6.75=27/4 0.256=32/125 1.005=201/200 2.025=81/40 3.075=123/40 4.15=83/20 5.28=132/25 6.125=49/8 How do you calculate the above figures from decimals to fractions

6.75=27/4 0.256=32/125 1.005=201/200 2.025=81/40 3.075=123/40 4.15=83/20 5.28=132/25 6.125=49/8 How do you calculate the above figures from decimals to fractions

--Personal solutions:
6.75 * 100 / 100 = 675 / 100
0.256 * 1000 / 1000 = 256 / 1000
and so on