Toolman

ASCII 42

ASCII 42 is Asterisk, written *.

Every representation

Character*
NameAsterisk
Decimal42
Hexadecimal0x2A
Octal0052
Binary00101010
HTML entity*
Escape sequence\x2A
UnicodeU+002A
GroupPunctuation 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

Full ASCII table · Text to binary converter · Number base converter