1, gravimetric method
This method needs to remember the weight of each binary bit, then multiply the value on each bit by the corresponding weight, and finally add all the results. For example, if the binary number 10 1 1 is converted into a decimal number,1* 2 3+0 * 2+1.
Step 2 use a decimal converter
If you find the above two methods difficult to operate, we can also use a mathematical calculator to calculate. Mathtool is a simple and easy-to-use calculation tool. This is a mathematical tool based on Wb, which provides a variety of decimal conversion functions. If you need to convert a binary number into a decimal number, just select the "Binary to Decimal" option, then enter the binary number and calculate it with one click.
Advantages of binary numbers:
1, the technical implementation is simple: the binary number has only two digits, namely 0 and 1, so it is the easiest to realize physically. For example, there are usually only two stable states in electronic devices, which can be represented by 0 and 1.
2. High reliability: Because binary number has only two digits, it is not easy to make mistakes in transmission and processing. In contrast, other decimal numbers may be error-prone because of the diversity of numbers.
3. Simple operation rules: The operation rules of binary numbers are simpler than other binary numbers, which is conducive to improving the operating efficiency of computers. For example, the rules of addition, subtraction, multiplication and division of binary numbers are simpler than decimal numbers.
4. Convenient logical operation: The two digits 0 and 1 of binary number correspond to the two values "true" and "false" of logical proposition, thus providing convenient conditions for computers to realize logical operation.
5. Save storage space: Because there are fewer kinds of binary numbers, you can use fewer bits to represent the same value when storing data, thus saving storage space.