# How to convert decimal fraction to octal ?

Are you looking to learn how to convert a decimal fraction into octal? If so, you’ve come to the right place!

In this blog article, we’ll discuss the steps needed to convert a decimal fraction to octal.

We’ll explore why it’s important to understand this process, and provide a clear explanation of how to go about it.

By the end of this article, you’ll have all the knowledge you need to convert decimal fractions to octal easily and quickly.

So, let’s get started!

## What are decimal fraction ?

Decimal fractions are numbers that contain a decimal point, such as 0.5, 0.25, and 0.75. They are used to represent a fraction of a whole number or represent a fractional part of a whole number.

## What are Octal number ?

Octal numbers are a type of number system that represent values using a base-8 system, which means there are 8 possible digits used for representing numbers (0-7).

## How to convert decimal fraction to Octal ?

Converting a decimal fraction into a octal number involves the following steps:

First, we calculate the integer part of the decimal point by dividing the octal base number i.e. 8 until the quotient is less than 8.

The second part is calculated on the fraction part of the decimal number where the number is multiplied with the base number 8 until the fractional part is equal to zero.

we keep the integer part separate and the fractional part separate.

The final octal number is calculated by adding both the integer and the fractional number.

You can easily understand by the help of below example

## Explanation of above problem

To convert a decimal fraction 19.35 into a octal number, we have to follow these steps:

Separate the decimal number into two parts - the integer and the fractional. So, 19.35 = 19 + 35.

Convert the integer part of the number first. So, we begin with 19 first by dividing it by the base number 8 until the quotient is less than 8.

Hence, 19 is 23 in an octal number.

Once the integer octal number is obtained, we proceed to the fractional part. So, 0.35 is multiplied by 8 (octal base number) where the result is again divided into its integer part and fractional part.

Add both the integer and the fractional part together to obtain the octal number. Hence, 23+ 0.263= 23.263.

By following those above steps, you can easily convert any decimal to its octal equivalent.

## Conclusion

Converting a decimal fraction into its equivalent octal form can be a tricky process. However, with the right steps, it is possible to achieve the desired result. t.

This is done by first calculating the integer part of the decimal point by dividing the octal base number i.e. 8 until the quotient is less than 8. and the second part is calculating the fraction part of the decimal number where the number is multiplied with the base number 8 until the fractional part is equal to zero.

With the right approach, you can easily convert a decimal fraction to its octal equivalent .