Home  >  Article  >  Convert decimal 257 to hexadecimal number

Convert decimal 257 to hexadecimal number

步履不停
步履不停Original
2019-06-13 11:42:5737706browse

Convert decimal 257 to hexadecimal number

Converting the decimal number 257 into a hexadecimal number is 101.

Analysis

When converting a decimal number into a hexadecimal number, first convert it into a binary number, and then convert into hexadecimal number.

257=256 1, so the binary value is 100000001, every 4 bits from right to left are combined into a hexadecimal character , which is 101.

For more technical articles related to common problems, please visit FAQ Tutorial Column for learning!

The above is the detailed content of Convert decimal 257 to hexadecimal number. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn