DevKits

ASCII 40

Left Parenthesis (()

Printable ASCII

Left parenthesis. Opens a group in expressions and function calls.

All encodings at a glance

Decimal40
Hexadecimal0x28
Octal0050
Binary00101000
HTML numeric entity(
URL encoding%28
UTF-8 bytes0x28

Code snippets

JavaScript

String.fromCharCode(40); // "("
40.toString(16); // "28"

Python

chr(40)           # '('
ord(chr(40))      # 40
hex(40)           # '0x28'

HTML

&#40;   <!-- numeric entity (no named entity for this character) -->

Nearby codes