Octal conversion and octal Conversion

Source: Internet
Author: User

Octal conversion and octal Conversion

First, we need to know what the octal is and what its numbers are.

Octal consists of 0 1 2 3 4 5 6 7;

If the number is greater than 7, we will go into the next eight places and take an eight place, that is, when the number is 10 and then 11, we will change to 10 when the number is 8, move one forward, and so on, and use the previous one as 8;

32520 = 3*84 + 2*83 + 5*82 + 2*81 + 0*80

That is, multiply the first digit by the n power of 8 (n represents the total number of digits after the first digit) plus the second digit multiplied by the power B of 8 (B is the total number of digits after the second digit) and so on:

The power I mentioned above is the number multiplied by the total number of digits after which it does not represent the sum of the following digits, but the number of digits after which n represents the number, for example, in 10000, 1 is his first digit, and 4 digits after 1 indicate that n is 4.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.