Left parenthesis in binary code
AnswerLeft parenthesis ( is 00101000 in binary — ASCII code 40.
012806413201618040201
How left parenthesis becomes 00101000
The character’s code is 40. Writing 40 as a sum of powers of two gives 32 + 8 = 40. Put a 1 under each place value used and a 0 everywhere else, and you get 00101000.
| Binary (8-bit) | 00101000 |
|---|---|
| Decimal (ASCII code) | 40 |
| Hexadecimal | 28 (0x28) |
| Octal | 050 |
| Unicode | U+0028 |
| HTML entity | ( |
Frequently asked questions
What is left parenthesis in binary?
Left parenthesis is 00101000 in 8-bit binary. That is ASCII and UTF-8 code 40, which is 32 + 8 = 40.