copied = false, 2000)"
@keydown.enter="navigator.clipboard.writeText('۲'); copied = true; setTimeout(() => copied = false, 2000)"
:class="copied ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
۲
Overview
۲ (EXTENDED ARABIC-INDIC DIGIT TWO) is the Unicode character at code point U+06F2. It belongs to the Arabic block, in the Decimal Number (Nd) general category. Its script is Arabic.
On this page
Encoding Table
| Format | Value | Copy |
|---|---|---|
| Code point | U+06F2 |
|
| Decimal | 1778 |
|
| HTML decimal | ۲ |
|
| HTML hex | ۲ |
|
| CSS | \06F2 |
|
| JavaScript | \u{6F2} |
|
| Python | \u06f2 |
|
| Java | \u06F2 |
|
| Go | \u06F2 |
|
| Ruby | \u{6F2} |
|
| Rust | \u{6F2} |
|
| C / C++ | \u06f2 |
|
| URL-encoded | %DB%B2 |
|
| UTF-8 bytes | db b2 |
|
| UTF-16BE bytes | 06 f2 |
|
| UTF-32BE bytes | 00 00 06 f2 |
How to Use
HTML:
۲
CSS:
content: "\06F2"
JavaScript:
"\u{6F2}"
Python:
"\u06f2"
Properties
Frequently Asked Questions
What is the ۲ character (EXTENDED ARABIC-INDIC DIGIT TWO)?
۲ (EXTENDED ARABIC-INDIC DIGIT TWO) is the Unicode character U+06F2.
What is the Unicode codepoint of EXTENDED ARABIC-INDIC DIGIT TWO?
The EXTENDED ARABIC-INDIC DIGIT TWO character (۲) has codepoint U+06F2.
How do I type or copy EXTENDED ARABIC-INDIC DIGIT TWO?
Copy ۲ directly, or use the HTML entity, UTF-8, and code encodings shown on this page.