# How do I write a decimal as a fraction?

A fraction is a portion or section of any quantity out of a whole, where, the whole can be any number, a specific value, or a thing. All fractions consist of a numerator and a denominator. A decimal number can be defined as a number whose whole number part and the fractional part are separated by a decimal point.

## Answer: We can write any decimal in terms of a fraction by using the method given below.

Let us proceed step by step.

**Explanation:**

To convert a decimal number into a fraction, we write the given number as the numerator and place 1 in the denominator right below the decimal point followed by the number of zeros required accordingly. Then, this fraction can be simplified. Let us understand this with the help of an example.

Example: Convert 0.875 to a fraction.

In this case, 0.875 has three numbers after the decimal, so, we place 1000 in the denominator and remove the decimal point.

⇒ 875/1000

After reducing this fraction we get,

⇒ (875 ÷ 125) / (1000 ÷ 125) = 7/8

So, 0.875 as a fraction is equal to 7/8.