logo
g Text Version
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Sports
Travel & Culture
TV & Movies

dailyclick
Bored? Games!
Nutrition
Postcards
Take a Quiz
Rate My Photo

new
Houseplants
Romance Movies
Creativity
Family Travel
Southwest USA
Irish Culture
Home Finance


dailyclick
All times in EST

Full Schedule
g
g Computer Networks Site

BellaOnline's Computer Networks Editor

g

Converting Decimals and Decimal Fractions to Octal

Guest Author - Cathy Spearmon

Untitled DocumentThe conversion of a decimal number to its base 8 equivalent is done by the repeated division method. You simply divide the base 10 number by 8 and extract the remainder. The first remainder will be the LSD, and the last remainder will be the MSD.

Example: Convert 2510 to octal

The division problem will be setup as 2510 ÷ 8
2510 ÷ 8 = 3
2510 – 24 = Remainder 1 -----> 1 (LSD)

3 ÷ 8 = 0
3 – 0 = Remainder 3 -----> 3 (MSD)

Now, write the number from MSD to LSD as 318.

This same process can be used regardless of the size of the decimal. Here is an example of a larger decimal.

Example: Convert 25810 to octal.

The division problem will be setup as 25810 ÷ 8
25810 ÷ 8 = 32
18 – 16 = Remainder 2 -----> 2 (LSD)

32 ÷ 8 = 4
32 – 32 = Remainder 0 -----> 0

4 ÷ 8 = 0
4 – 0 = Remainder 4 -----> 4 (MSD)

Now, write the number from MSD to LSD. You should end up with 4028.

To convert a decimal fraction to octal, you must multiply the fraction by 8. Then, you need to extract the number(s) that appear to the left of the decimal point. The first number that is extracted will be the MSD and will follow the decimal point. The last number that is extracted will be the LSD. Continue to desired accuracy. This type of problem may result in results containing a mixed decimal number, which requires the whole number and the fraction to become split in order to achieve its equivalent octal conversion.
Example: Convert 0.17510 to octal.

The multiplication problem will be setup as

.017510
× 8
0.1400 -----> 0 (MSD)

.1400
× 8
1.1200 -----> 1

.1200
× 8
0.9600 -----> 0

.9600
× 8
7.6800 -----> 7

.6800
× 8
5.4400 -----> 5

.4400
× 8
3.5200 -----> 3

.5200
× 8
4.1600 -----> 4

.1600
× 8
1.2800 -----> 1 (LSD)

Writing from MSD to LSD, you should end with .010753418.

This site needs an editor - click to learn more!

Add Converting+Decimals+and+Decimal+Fractions+to+Octal to Twitter Add Converting+Decimals+and+Decimal+Fractions+to+Octal to Facebook Add Converting+Decimals+and+Decimal+Fractions+to+Octal to MySpace Add Converting+Decimals+and+Decimal+Fractions+to+Octal to Del.icio.us Digg Converting+Decimals+and+Decimal+Fractions+to+Octal Add Converting+Decimals+and+Decimal+Fractions+to+Octal to Yahoo My Web Add Converting+Decimals+and+Decimal+Fractions+to+Octal to Google Bookmarks Add Converting+Decimals+and+Decimal+Fractions+to+Octal to Stumbleupon Add Converting+Decimals+and+Decimal+Fractions+to+Octal to Reddit




RSS | Related Articles | Editor's Picks Articles | Top Ten Articles | Previous Features | Site Map


For FREE email updates, subscribe to the Computer Networks Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor


Content copyright © 2014 by Cathy Spearmon. All rights reserved.
This content was written by Cathy Spearmon. If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.

g


g features
Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Poetry
Daily
Weekly
Monthly
Less than Monthly



BellaOnline on Facebook
g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2014 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor