ASCII code 45: "-"

ASCII 45 is Hyphen-minus. In hex it is 0x2D and in binary 00101101.

-Character
45Decimal
0x2DHex
055Octal
00101101Binary

All representations

FormatValue
NameHyphen-minus
Decimal45
Hexadecimal0x2D
Octal055
Binary00101101
HTML numeric entity- / -
Unicode code pointU+002D
URL encoded%2D
UTF-8 bytes2D (one byte, same as ASCII)

Notes

Nearby codes

DecHexCharName
432B+Plus sign
442C,Comma
462E.Period (full stop)
472F/Slash (solidus)

Get this code in code

JavaScript  '-'.charCodeAt(0)   // 45
Python      ord('-')          # 45
C           (char)45