-



HYPHEN-MINUS

General information

ID 45
HEX 2d
Char -
Unicode name HYPHEN-MINUS
Unicode group Basic Latin
Unicode Code Point U+2D

Conversion

HTML Entity (decimal) -
HTML Entity (hex) -
C / C++ / Java "\u2D"
Python u"\u2D"

How to type -

Microsoft Windows ALT code Alt + 45
Microsoft Office write 2d then press Alt + X
Microsoft Office (alternative) write U+2d then press Alt + X
Apple Mac Hold Alt, type 2 D then release
Apple Mac (alternative) Hold Option, type 2 D then release

UTF Encodings

UTF-8 (hex) 0x2D
UTF-8 (octal) 55
UTF-8 (binary) 00101101
UTF-16 (hex) 0x002D
UTF-16 (decimal) 45
UTF-32 (hex) 0x0000002D
UTF-32 (decimal) 45
This website uses cookies. By continuing to use this website you are giving consent to cookies being used. To find out more about the cookies we use, see our Privacy Policy.