C # First Lesson

Source: Internet
Author: User
Tags decimal to binary

Decimal to binary system in addition to two to write on the edge, the divisor is written in the bottom, and so on, and so on, and so on, and then continue to divide, the last one, from the back to write the number of remaining, the binary decimal number on the top of the first two n minus the power and then multiplied by the number of the lower add up And so on, and so on to continue to divide, and finally left a number less than eight, from the backward to write the number of remaining, the octal decimal is written on the top of the number of eight n minus one power and then multiplied by the number of the following add up; decimal to hexadecimal except 16 is written on the edge, ten with a, 11 in B, 12 13 in D, 14 is denoted by E, XV is denoted by F, the divisor is written down, and so on, and so on, and so on, and then continue to divide, finally, a number of less than 16, from the back to the next write remaining number; hexadecimal to decimal, write down the number of 16 n minus power and multiply the number of the bottom of Each of the three numbers from the back counts a number less than eight, converted to 10 digits, then sequentially, octal binary, each digit converted to a three-bit binary number in decimal notation, then arranged sequentially, and binary to hexadecimal, from the back count of every four digits to a 10-bit less than 16 number, Then sequentially, hexadecimal to binary, each digit converted to a four-bit binary number with a decimal-to-binary, and then arranged sequentially. Decimal, binary, and other binaries can be converted directly to each other, and octal and hexadecimal cannot be converted directly to each other, and conversions are made by means of either decimal or binary intermediate conversions, which are generally used in binary.

C # First Lesson

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.