freeCodeCamp/guide/english/mathematics/convert-decimals-to-fractions/index.md

657 B

title
Convert Decimals to Fractions

Convert Decimals to Fractions

  1. Write down decimal number as decimal / 1
  2. Multiply the numerator and denominator by 10 for every no after the decimal point.
  3. Simplify the fraction till it becomes irreducible.

Examples

Example 1

Convert 0.25 into a fraction.

0.25/1 --> 25/100 --> 5/20 --> 1/4

The final answer is 1/4 which is the fractional representation of decimal no 0.25

Ezxample 2

Convert 0.2 into a fraction.

0.2/1 ---> x100 = 20/100 = 2/10.

Examples