All representations
| Format | Value |
|---|---|
| Name | Asterisk |
| Decimal | 42 |
| Hexadecimal | 0x2A |
| Octal | 052 |
| Binary | 00101010 |
| HTML numeric entity | * / * |
| Unicode code point | U+002A |
| URL encoded | %2A |
| UTF-8 bytes | 2A (one byte, same as ASCII) |
Notes
- In a URL it is encoded as
%2A.
Nearby codes
Get this code in code
JavaScript '*'.charCodeAt(0) // 42
Python ord('*') # 42
C (char)42