ASCII 45
Hyphen-Minus (-)
Printable ASCII
Hyphen / minus. Subtraction, negative numbers, and word separator in kebab-case slugs.
All encodings at a glance
| Decimal | 45 |
| Hexadecimal | 0x2D |
| Octal | 0055 |
| Binary | 00101101 |
| HTML numeric entity | - |
| URL encoding | %2D |
| UTF-8 bytes | 0x2D |
Code snippets
JavaScript
String.fromCharCode(45); // "-"
45.toString(16); // "2d"Python
chr(45) # '-'
ord(chr(45)) # 45
hex(45) # '0x2d'HTML
- <!-- numeric entity (no named entity for this character) -->