In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
To convert:
Conversion from binary to decimal
From the lowest bit (rightmost), the number on the bit is multiplied by the weight of the standard, and the weight is the number of digits of 2 minus the power.
Hexadecimal to decimal
From the lowest bit (rightmost), the number on the bit is multiplied by the weight of the standard, and the weight is the number of digits of 6 minus the power.
Octal to decimal
From the lowest bit (rightmost), the number on the bit is multiplied by the weight of the standard, and the weight is the number of digits of 8 minus one power.
Hexadecimal to decimal
From the lowest bit (rightmost), the number on the bit is multiplied by the weight of the standard, and the weight is the number of digits of 16 minus one power.
2. Conversion from decimal to binary:
Main points: divide two to take the rest, arrange in reverse order
Explanation: the decimal number is divided by two, and the resulting quotient is divided by 2. By analogy until the quotient is equal to one or 00:00, the reverse order is the binary result of the conversion.
Decimal to hexadecimal:
When the decimal number is divided by two, the quotient is divided by 6, and by analogy until the quotient is equal to one or 00:00, the reverse order is the binary result of the conversion.
Decimal to octal:
When the decimal number is divided by two, the quotient is divided by 8, and by analogy until the quotient is equal to one or 00:00, the reverse order is the binary result of the conversion.
Decimal to hexadecimal:
When the decimal number is divided by two, the quotient is divided by 16, and by analogy until the quotient is equal to one or 00:00, the reverse order is the binary result of the conversion.
Third, binary to hexadecimal: from right to left, every four digits
Hexadecimal to binary: from right to left, one minute four (one hexadecimal to four binary)
Fourth, binary to octal: from right to left, every three digits
Octal to binary: from right to left, one in three (one octal to three binary)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.