ASCII 42
ASCII 42 is Asterisk, written *.
Every representation
| Character | * |
| Name | Asterisk |
| Decimal | 42 |
| Hexadecimal | 0x2A |
| Octal | 0052 |
| Binary | 00101010 |
| HTML entity | * |
| Escape sequence | \x2A |
| Unicode | U+002A |
| Group | Punctuation or symbol |
What it is for
Asterisk. The wildcard in shell globs and the multiplication operator nearly everywhere.
Where the number comes from
Codes 32 to 126 hold the printable characters. The punctuation was distributed around the letters and digits so that the most common characters fell into positions that were convenient for the teleprinter keyboards of the time.
Frequently asked questions
What is ASCII 42?
Asterisk, the character *. In hexadecimal it is 0x2A, in octal 0052, and in binary 00101010.
How do I type ASCII 42?
Type * directly. In a string literal it can also be written \\x2A, and in HTML as *.
Is ASCII 42 printable?
Yes. Codes 32 to 126 are the printable range, which is every character ASCII can actually display.
Nearby codes
- ASCII 35 — #
- ASCII 36 — $
- ASCII 37 — %
- ASCII 38 — &
- ASCII 39 — '
- ASCII 40 — (
- ASCII 41 — )
- ASCII 43 — +
- ASCII 44 — ,
- ASCII 45 — -
- ASCII 46 — .
- ASCII 47 — /
- ASCII 48 — 0
- ASCII 49 — 1
Full ASCII table · Text to binary converter · Number base converter