二进制转换为十六进制到十进制 [英] Convert binary to hex to decimal

查看:172
本文介绍了二进制转换为十六进制到十进制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有二进制数1010 1011我知道,这是AB十六进制,我知道,A = 10,并在小数B = 11。但是,如何从10和11十进制到171的最终号码是多少?

I have the binary number 1010 1011. I know that this is AB in hex and I know that A = 10 and B = 11 in decimal. But how do I get from 10 and 11 in decimal to the final number of 171?

使用十六进制我会做

             A            B
0xAB = (10 * 16^1) + (11 * 16^0) = 171

我可以做的十进制数类似,从10和11至171去?基本上,我只是在寻找一个快速的方式将任何二进制数没有计算器。

Can I do something similar with the decimal numbers to go from 10 and 11 to 171? Basically, I'm just looking for a fast way to convert any binary number without a calculator.

推荐答案

我不认为还有比A&倍更简单的方法; 16 + B。

I don't think there's a much easier way than A × 16 + B.

这篇关于二进制转换为十六进制到十进制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆