The decimal representation of any number is a linear combination of powers of 10. In other words, given a number like 123.456, we can expand it as
![1\cdot10^2+2\cdot10^1+3\cdot10^0+4\cdot10^(-1)+5\cdot10^(-2)+6\cdot10^(-3)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/s5i9hqj1s63up3mt3uqva6vd6ikznz801a.png)
for any
, so the above is the same as
![100+20+3+\frac4{10}+\frac5{100}+\frac6{1000}=(100000+20000+3000+400+50+6)/(1000)=(123456)/(1000)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/370tdyr380x3k2ifcig15skioy3tn1gux3.png)
Similarly, we can write
![0.768=(768)/(1000)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/4uj8p9kzjv1qzq5t3zvvnr14fr7ye1h4a6.png)
Now it's a question of reducing the fraction as much as possible. We have
so
![(768)/(1000)=(96\cdot8)/(125\cdot8)=(96)/(125)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/t9uiuq2b6ugglk9c2wkwvrainrbng8x3i6.png)