Is there a Unicode character for plus over minus? (+/-)
Solution 1
This is the only one I have seen in unicode (plus over minus):
±
HTML/XML Character reference:
±
HTML Named Entity:
±
This symbol is used to indicate the precision of an approximation.
Solution 2
You can approximate it to some extent with a superscript plus (U+207A), a division slash (U+2215) and a subscript minus (U+208B):
⁺∕₋
However, it requires font support to get right. Especially the super- and subscript +/− are not available in most fonts, so it might just render horribly.
For reference, that's how it looks for me (better than five years ago, but still somewhat broken):
However, using Cambria Math in Word 2010 it looks like this:
Which probably is exactly how it should look like (follows the same typesetting rules as fractions).
Solution 3
You mean like ± (U+00B1 / "\x00b1")?
Edit: speaking specifically to a design which uses a solidus, the best I could find was ⁺⁄₋ which is U+207a (superscript plus sign) U+2044 (fraction slash) U+208b (subscript minus). The fraction slash has negative kerning in some fonts, which causes the appearance of composition. See this JSFiddle for an example of how this works with a larger font size.
<div style="font-size:20em;">⁺⁄₋</div>
Solution 4
+⁄−
<sup>+</sup>⁄<sub>−</sub>
Related videos on Youtube
andrewtc
Video game programmer. My primary experience is with C++, but I also have experience with a number of other languages, including C#, Java, ActionScript 3, JavaScript, and PHP.
Updated on June 04, 2022Comments
-
andrewtc about 2 years
Occasionally I've seen the symbol "plus or minus" written in fractional form, like this:
Is there a Unicode character for this?
Note: I already know about the standard "plus-minus sign" symbol, but it won't work in this context. I'm specifically looking for a version with the fraction bar.
-
Matt Ball almost 11 years
-
Matt Ball almost 11 yearsThis question appears to be off-topic because it is about finding a Unicode character.
-
Rich almost 11 yearsMatt: That's assuming that there is a single character for that and that there are no other means of getting that glyph. That assumption may not be valid and I doubt a search engine might turn up my solution.
-
Amit Patil almost 11 yearsThis seems to me like an alternative glyph for ±, in which case the question would be “is there a font that renders ± with a slash”?
-
-
Joachim Breitner over 10 yearsLooks better for me than for you ;-)
-
Yu Jianrong about 10 yearsThe best combination I had seen
-
travis over 8 years⁺∕₋ is definitely the way to go. HTML:
⁺∕₋
links: fileformat.info/info/unicode/char/207a/index.htm fileformat.info/info/unicode/char/2215/index.htm fileformat.info/info/unicode/char/208b/index.htm -
Murray Sagal about 6 yearsWorks great. Swift:
let plusMinus = "\u{207A}\u{2215}\u{208B}"
renders nice with the default font in aUILabel
.