ASCII code 42: "*"

ASCII 42 is Asterisk. In hex it is 0x2A and in binary 00101010.

*Character
42Decimal
0x2AHex
052Octal
00101010Binary

All representations

FormatValue
NameAsterisk
Decimal42
Hexadecimal0x2A
Octal052
Binary00101010
HTML numeric entity* / *
Unicode code pointU+002A
URL encoded%2A
UTF-8 bytes2A (one byte, same as ASCII)

Notes

Nearby codes

DecHexCharName
4028(Left parenthesis
4129)Right parenthesis
432B+Plus sign
442C,Comma

Get this code in code

JavaScript  '*'.charCodeAt(0)   // 42
Python      ord('*')          # 42
C           (char)42