Decimal Fractions

Decimal fraction is a fraction, where denominator is a power of 10.

For example, `1/10`, `17/100`, `3/1000` are all decimal fractions.

Nice thing about decimal fractions is that they can be easily converted into decimal.

We already know, that dividing by 10, moves decimal point one position to the left.

In case of dividing by `100=10^2`, we move decimal point 2 positions to the left.

Thus, `1/10=0.1`, `17/100=0.17`, `3/1000=0.003`.

Exercise 1. Write `7/10` as fraction.

Answer: `7/10=0.7`.

Next exercise.

Exercise 2. Write `0.56` as fraction.

Answer: `0.56=56times10^(-2)=56/100`.

Next exercise.

Exercise 3. Write `-257/1000` as decimal.

Answer: `-257/1000=-0.257`.