Home>Article> Convert decimal 257 to hexadecimal number

Convert decimal 257 to hexadecimal number

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

Convert decimal 257 to hexadecimal number

Converting the decimal number 257 into a hexadecimal number is101.

Analysis

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

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

For more technical articles related to common problems, please visitFAQ TutorialColumn 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