U+2278 · Math symbol
HTML entity
≸
LaTeX
\nlessgtr
Neither Less-Than Nor Greater-Than Symbol ≸
≸ is neither less-than nor greater-than, U+2278. Unicode records it as a compatibility form of ≸. It was added in Unicode 1.1, and Unicode files it under Math symbol.
Also known as
Unicode 1.0 called this character neither less than nor greater than. The standard renamed it later, but documents, fonts and font-editing tools from that era still use the old name.
Codes & technical data
| Unicode | U+2278 | |
|---|---|---|
| HTML hex | ≸ | |
| HTML decimal | ≸ | |
| CSS | \2278 | |
| JavaScript | \u{2278} | |
| Python | \U00002278 | |
| Java / C# | \u2278 | |
| Rust | \u{2278} | |
| Swift | \u{2278} | |
| PHP | \u{2278} | |
| URL encoded | %E2%89%B8 | |
| UTF-8 bytes | E2 89 B8 | |
| UTF-16 bytes | 2278 | |
| Base64 | 4om4 | |
| Decimal | 8824 | |
| HTML entity | ≸ | |
| LaTeX | \nlessgtr | |
| Decomposes to | ≸ | |
| Category | Math symbol (Sm) | |
| Introduced | Unicode 1.1 | |
Will ≸ survive being pasted?
- Normalisation. Yes. ≸ is unchanged by NFKC, so it survives normalising systems intact.
- Legacy encodings. ≸ is Unicode-only — it has no Latin-1 equivalent, so a system stuck on an 8-bit encoding cannot represent it.
- Size. 3 bytes in UTF-8. Character-limited fields — SMS, bios, some form validators — usually count bytes, not characters.
Other than characters
Unicode names 24 characters ending in “than”. They differ by direction, weight or decoration rather than by meaning.
Nearby in Mathematical Operators
The operators mathematics and programming share — set theory, logic, calculus, comparison. Almost every character here has a LaTeX command, which is usually the fastest way to name the one you mean.
How to type ≸
| Windows | Type 2278 then press Alt+X |
|---|---|
| macOS | Press Ctrl+Cmd+Space, then search for “neither less-than nor greater-than” |
| Linux | Press Ctrl+Shift+U, type 2278, press Enter |
| HTML | ≸ |
About Unicode’s Math symbol category
Unicode classifies this as a mathematical symbol, which means software that lays out formulas treats it as an operator or relation and gives it spacing accordingly, rather than setting it tight against its neighbours like a letter.
Frequently asked questions
- How do I type the ≸ neither less-than nor greater-than symbol?
- On Windows, type 2278 and press Alt+X. On Linux press Ctrl+Shift+U then 2278. On any system the quickest route is the copy button on this page.
- What is the code for ≸?
- Neither Less-Than Nor Greater-Than is U+2278, written in HTML as ≸ and in LaTeX as \nlessgtr. In UTF-8 it takes 3 bytes. The table above lists every escape format.
- What kind of character is ≸?
- Neither Less-Than Nor Greater-Than is filed under Math symbol in the Mathematical Operators block, and was introduced in Unicode 1.1. Unicode classifies this as a mathematical symbol, which means software that lays out formulas treats it as an operator or relation and gives it spacing accordingly, rather than setting it tight against its neighbours like a letter.