Decimal converted to binary binary to 8 binary and 16 binary

Source: Internet
Author: User
  1. Decimal conversion into binary

Example: 752 (decimal number)--"Convert to binary number

     

Read data from bottom to top binary number: 011110000

2. Binary conversion to 8 binary (beginning with 0)

The 10-digit number, represented by 111, is 7, and is the largest number in the 8 binary per bit

011110000 converted to 8 binary, right to left, three bits separated 011-110-000,

  

3. Binary conversion to 16 binary (beginning with 0x)

and the binary conversion is basically the same, the difference is that in the binary number, each four-digit separation, and then calculate the decimal, and then splicing, attention is greater than 10, you need to convert to letter representation

Decimal converted to binary binary to 8 binary and 16 binary

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.