2

DIGIT TWO

U+0032 Decimal Number (Nd) · Basic Latin · Common

Overview

2 (DIGIT TWO) is the Unicode character at code point U+0032. It belongs to the Basic Latin block, in the Decimal Number (Nd) general category.

On this page

Encoding Table

Format Value Copy
Code point U+0032
Decimal 50
HTML decimal 2
HTML hex 2
CSS \0032
JavaScript \u{32}
Python \u0032
Java \u0032
Go \u0032
Ruby \u{32}
Rust \u{32}
C / C++ \u0032
URL-encoded 2
UTF-8 bytes 32
UTF-16BE bytes 00 32
UTF-32BE bytes 00 00 00 32

How to Use

HTML: 2
CSS: content: "\0032"
JavaScript: "\u{32}"
Python: "\u0032"

Properties

Block
Basic Latin
Script
Common Zyyy
Category
Decimal Number (Nd)
Bidirectional
EN
Combining
0
Mirrored
No
← 1 U+0031 U+0033 3 →

Frequently Asked Questions

How do I type or copy DIGIT TWO?

Copy 2 directly, or use the HTML entity, UTF-8, and code encodings shown on this page.