Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Conversion method between decimal and binary
Conversion method between decimal and binary
How to calculate decimal, and what is the conversion method between binary and decimal? This article will give you a detailed answer.

Decimal calculation method

For example, direct calculation is10+01=11. Conversion to decimal is 2+ 1=3.

Decimal to binary

Integer part, which converts decimal into binary until the quotient is 0. Read the remainder from bottom to top. The remainder is the integer part of a binary number. For the decimal part, multiply by 2 to get the result of its integer part, and then repeat the calculation with the calculated decimal part until the decimal part is all 0, and then read all the numbers of the calculated integer part from top to bottom.

Binary to decimal

The method of converting binary to decimal is to multiply each bit of binary number with its corresponding weight, and then add the products to get decimal number.