⅔ is the Unicode character VULGAR FRACTION TWO THIRDS, code point U+2154 (decimal 8532) in the Number Forms block, added in Unicode 1.1. In HTML write ⅔, and in UTF-8 it is the 3 bytes E2 85 94.
Codes
| Where | How to write it |
|---|---|
| Code point | U+2154 |
| Decimal | 8532 |
| UTF-8 bytes | E2 85 94 |
| UTF-16 (big-endian) | 2154 |
| UTF-32 | 00002154 |
| HTML decimal | ⅔ |
| HTML hex | ⅔ |
| HTML named | ⅔ |
| CSS | \2154 |
| JavaScript | \u2154 |
| JSON | \u2154 |
| Python | \u2154 |
| Python by name | \N{VULGAR FRACTION TWO THIRDS} |
| Java, C# | \u2154 |
| Rust, Swift | \u{2154} |
| Go, C, C++ | \u2154 |
| URL (percent-encoded) | %E2%85%94 |
JavaScript and JSON strings store text as UTF-16, so this character is one code unit long. Python 3 strings count code points, so its length there is 1.
Properties
| Property | Value |
|---|---|
| Name | VULGAR FRACTION TWO THIRDS |
| Code point | U+2154 (decimal 8532) |
| Block | Number Forms (U+2150–U+218F) |
| General category | No: Other number |
| Script | Common |
| Bidirectional class | ON: Other neutral |
| Numeric value | 2/3 |
| Mirrored in right-to-left text | No |
| First in Unicode version | 1.1 |
Decomposition
VULGAR FRACTION TWO THIRDS has a compatibility decomposition (fraction) to the sequence below. NFKC and NFKD normalisation replace it with that sequence, which can change how text looks, so use them for search, not for storage.
Nearby in Number Forms
- ⅐ U+2150 Vulgar Fraction One Seventh
- ⅑ U+2151 Vulgar Fraction One Ninth
- ⅒ U+2152 Vulgar Fraction One Tenth
- ⅓ U+2153 Vulgar Fraction One Third
- ⅕ U+2155 Vulgar Fraction One Fifth
- ⅖ U+2156 Vulgar Fraction Two Fifths
- ⅗ U+2157 Vulgar Fraction Three Fifths
- ⅘ U+2158 Vulgar Fraction Four Fifths
- ⅙ U+2159 Vulgar Fraction One Sixth
- ⅚ U+215A Vulgar Fraction Five Sixths
- ⅛ U+215B Vulgar Fraction One Eighth
- ⅜ U+215C Vulgar Fraction Three Eighths
All 60 characters: Number Forms.
Official reference
Questions people ask
- What is the HTML code for ⅔?
- Use the named entity ⅔, or ⅔ (decimal) or ⅔ (hex).
- What is the UTF-8 encoding of U+2154?
- E2 85 94 (hex), 3 bytes. In a URL it is %E2%85%94.
- How do I write U+2154 in JavaScript or Python?
- JavaScript: \u2154. Python: \u2154.
Source
Unicode Character Database 18.0.0 (Unicode License v3); HTML entity names from the WHATWG HTML Standard (CC BY 4.0). The encodings above are computed from the code point and checked against Python's encoders. How the character looks depends on your fonts.
Legal entity
Devansh Yadav
Moradabad, Uttar Pradesh
Governing law: Courts at Moradabad, Uttar Pradesh
Phone: +91 8433475698
Legal: legal@analyzeit.in