copied = false, 2000)"
@keydown.enter="navigator.clipboard.writeText('0'); copied = true; setTimeout(() => copied = false, 2000)"
:class="copied ? 'border-green-400 bg-green-50 dark:bg-green-950' : ''">
0
DIGIT ZERO
Overview
0 (DIGIT ZERO) is the Unicode character at code point U+0030. 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+0030 |
|
| Decimal | 48 |
|
| HTML decimal | 0 |
|
| HTML hex | 0 |
|
| CSS | \0030 |
|
| JavaScript | \u{30} |
|
| Python | \u0030 |
|
| Java | \u0030 |
|
| Go | \u0030 |
|
| Ruby | \u{30} |
|
| Rust | \u{30} |
|
| C / C++ | \u0030 |
|
| URL-encoded | 0 |
|
| UTF-8 bytes | 30 |
|
| UTF-16BE bytes | 00 30 |
|
| UTF-32BE bytes | 00 00 00 30 |
How to Use
HTML:
0
CSS:
content: "\0030"
JavaScript:
"\u{30}"
Python:
"\u0030"
Properties
- Block
- Basic Latin
- Script
- Common Zyyy
- Category
- Decimal Number (Nd)
- Bidirectional
- EN
- Combining
- 0
- Mirrored
- No
Compare
Frequently Asked Questions
How do I type or copy DIGIT ZERO?
Copy 0 directly, or use the HTML entity, UTF-8, and code encodings shown on this page.