38

I was working on Project Euler 40, and was a bit bothered that there was no int.Parse(char). Not a big deal, but I did some asking around and someone suggested char.GetNumericValue. GetNumericValue seems like a very odd method to me:

  • Takes in a char as a parameter and returns... a double?
  • Returns -1.0 if the char is not '0' through '9'

So what's the reasoning behind this method, and what purpose does returning a double serve? I even fired up Reflector and looked at InternalGetNumericValue, but it's just like watching Lost: every answer just leads to another question.

2
  • 3
    Note that if you just want to convert a digit to an int, int.Parse(c.ToString()) would work fine. No reason to use GetNumericValue unless you're in the situation that Adam Sills describes. Or, of course, just subtracting '0' from the char.
    – Joren
    Commented May 19, 2010 at 15:24
  • 3
    Yeah, and that's what I'm actually using, but converting to a string and then parsing into an int seems a little wordy and/or excessive. I could also subtract '0' from the char of course, but that seems a little 'magic string'y Commented May 19, 2010 at 15:27

3 Answers 3

61

Remember that it's taking a Unicode character and returning a value. '0' through '9' are the standard decimal digits, however there are other Unicode characters that represent numbers, some of which are floating point.

Like this character: ¼

Console.WriteLine( char.GetNumericValue( '¼' ) );

Outputs 0.25 in the console window.

41

Here is a comprehensive list of actual numeric values that are returned:

0 - 0   1 - 1   2 - 2   3 - 3   4 - 4   5 - 5   6 - 6   7 - 7   8 - 8   9 - 9   
² - 2   ³ - 3   ¹ - 1   ¼ - 0.25    ½ - 0.5 ¾ - 0.75    ٠ - 0   ١ - 1   ٢ - 2   ٣ - 3   
٤ - 4   ٥ - 5   ٦ - 6   ٧ - 7   ٨ - 8   ٩ - 9   ۰ - 0   ۱ - 1   ۲ - 2   ۳ - 3   
۴ - 4   ۵ - 5   ۶ - 6   ۷ - 7   ۸ - 8   ۹ - 9   ߀ - 0   ߁ - 1   ߂ - 2   ߃ - 3   
߄ - 4   ߅ - 5   ߆ - 6   ߇ - 7   ߈ - 8   ߉ - 9   ० - 0   १ - 1   २ - 2   ३ - 3   
४ - 4   ५ - 5   ६ - 6   ७ - 7   ८ - 8   ९ - 9   ০ - 0   ১ - 1   ২ - 2   ৩ - 3   
৪ - 4   ৫ - 5   ৬ - 6   ৭ - 7   ৮ - 8   ৯ - 9   ৴ - 1   ৵ - 2   ৶ - 3   ৷ - 4   
৹ - 16  ੦ - 0   ੧ - 1   ੨ - 2   ੩ - 3   ੪ - 4   ੫ - 5   ੬ - 6   ੭ - 7   ੮ - 8   
੯ - 9   ૦ - 0   ૧ - 1   ૨ - 2   ૩ - 3   ૪ - 4   ૫ - 5   ૬ - 6   ૭ - 7   ૮ - 8   
૯ - 9   ୦ - 0   ୧ - 1   ୨ - 2   ୩ - 3   ୪ - 4   ୫ - 5   ୬ - 6   ୭ - 7   ୮ - 8   
୯ - 9   ௦ - 0   ௧ - 1   ௨ - 2   ௩ - 3   ௪ - 4   ௫ - 5   ௬ - 6   ௭ - 7   ௮ - 8   
௯ - 9   ௰ - 10  ௱ - 100 ௲ - 1000    ౦ - 0   ౧ - 1   ౨ - 2   ౩ - 3   ౪ - 4   ౫ - 5   
౬ - 6   ౭ - 7   ౮ - 8   ౯ - 9   ೦ - 0   ೧ - 1   ೨ - 2   ೩ - 3   ೪ - 4   ೫ - 5   
೬ - 6   ೭ - 7   ೮ - 8   ೯ - 9   ൦ - 0   ൧ - 1   ൨ - 2   ൩ - 3   ൪ - 4   ൫ - 5   
൬ - 6   ൭ - 7   ൮ - 8   ൯ - 9   ๐ - 0   ๑ - 1   ๒ - 2   ๓ - 3   ๔ - 4   ๕ - 5   
๖ - 6   ๗ - 7   ๘ - 8   ๙ - 9   ໐ - 0   ໑ - 1   ໒ - 2   ໓ - 3   ໔ - 4   ໕ - 5   
໖ - 6   ໗ - 7   ໘ - 8   ໙ - 9   ༠ - 0   ༡ - 1   ༢ - 2   ༣ - 3   ༤ - 4   ༥ - 5   
༦ - 6   ༧ - 7   ༨ - 8   ༩ - 9   ༪ - 0.5 ༫ - 1.5 ༬ - 2.5 ༭ - 3.5 ༮ - 4.5 ༯ - 5.5 
༰ - 6.5 ༱ - 7.5 ༲ - 8.5 ༳ - -0.5    ၀ - 0   ၁ - 1   ၂ - 2   ၃ - 3   ၄ - 4   ၅ - 5   
၆ - 6   ၇ - 7   ၈ - 8   ၉ - 9   ፩ - 1   ፪ - 2   ፫ - 3   ፬ - 4   ፭ - 5   ፮ - 6   
፯ - 7   ፰ - 8   ፱ - 9   ፲ - 10  ፳ - 20  ፴ - 30  ፵ - 40  ፶ - 50  ፷ - 60  ፸ - 70  
፹ - 80  ፺ - 90  ፻ - 100 ፼ - 10000   ᛮ - 17  ᛯ - 18  ᛰ - 19  ០ - 0   ១ - 1   ២ - 2   
៣ - 3   ៤ - 4   ៥ - 5   ៦ - 6   ៧ - 7   ៨ - 8   ៩ - 9   ៰ - 0   ៱ - 1   ៲ - 2   
៳ - 3   ៴ - 4   ៵ - 5   ៶ - 6   ៷ - 7   ៸ - 8   ៹ - 9   ᠐ - 0   ᠑ - 1   ᠒ - 2   
᠓ - 3   ᠔ - 4   ᠕ - 5   ᠖ - 6   ᠗ - 7   ᠘ - 8   ᠙ - 9   ᥆ - 0   ᥇ - 1   ᥈ - 2   
᥉ - 3   ᥊ - 4   ᥋ - 5   ᥌ - 6   ᥍ - 7   ᥎ - 8   ᥏ - 9   ᧐ - 0   ᧑ - 1   ᧒ - 2   
᧓ - 3   ᧔ - 4   ᧕ - 5   ᧖ - 6   ᧗ - 7   ᧘ - 8   ᧙ - 9   ᭐ - 0   ᭑ - 1   ᭒ - 2   
᭓ - 3   ᭔ - 4   ᭕ - 5   ᭖ - 6   ᭗ - 7   ᭘ - 8   ᭙ - 9   ⁰ - 0   ⁴ - 4   ⁵ - 5   
⁶ - 6   ⁷ - 7   ⁸ - 8   ⁹ - 9   ₀ - 0   ₁ - 1   ₂ - 2   ₃ - 3   ₄ - 4   ₅ - 5   
₆ - 6   ₇ - 7   ₈ - 8   ₉ - 9   ⅓ - 0.333333333333333   ⅔ - 0.666666666666667   ⅕ - 0.2 ⅖ - 0.4 ⅗ - 0.6 ⅘ - 0.8 
⅙ - 0.166666666666667   ⅚ - 0.833333333333333   ⅛ - 0.125   ⅜ - 0.375   ⅝ - 0.625   ⅞ - 0.875   ⅟ - 1   Ⅰ - 1   Ⅱ - 2   Ⅲ - 3   
Ⅳ - 4   Ⅴ - 5   Ⅵ - 6   Ⅶ - 7   Ⅷ - 8   Ⅸ - 9   Ⅹ - 10  Ⅺ - 11  Ⅻ - 12  Ⅼ - 50  
Ⅽ - 100 Ⅾ - 500 Ⅿ - 1000    ⅰ - 1   ⅱ - 2   ⅲ - 3   ⅳ - 4   ⅴ - 5   ⅵ - 6   ⅶ - 7   
ⅷ - 8   ⅸ - 9   ⅹ - 10  ⅺ - 11  ⅻ - 12  ⅼ - 50  ⅽ - 100 ⅾ - 500 ⅿ - 1000    ↀ - 1000    
ↁ - 5000    ↂ - 10000   ① - 1   ② - 2   ③ - 3   ④ - 4   ⑤ - 5   ⑥ - 6   ⑦ - 7   ⑧ - 8   
⑨ - 9   ⑩ - 10  ⑪ - 11  ⑫ - 12  ⑬ - 13  ⑭ - 14  ⑮ - 15  ⑯ - 16  ⑰ - 17  ⑱ - 18  
⑲ - 19  ⑳ - 20  ⑴ - 1   ⑵ - 2   ⑶ - 3   ⑷ - 4   ⑸ - 5   ⑹ - 6   ⑺ - 7   ⑻ - 8   
⑼ - 9   ⑽ - 10  ⑾ - 11  ⑿ - 12  ⒀ - 13  ⒁ - 14  ⒂ - 15  ⒃ - 16  ⒄ - 17  ⒅ - 18  
⒆ - 19  ⒇ - 20  ⒈ - 1   ⒉ - 2   ⒊ - 3   ⒋ - 4   ⒌ - 5   ⒍ - 6   ⒎ - 7   ⒏ - 8   
⒐ - 9   ⒑ - 10  ⒒ - 11  ⒓ - 12  ⒔ - 13  ⒕ - 14  ⒖ - 15  ⒗ - 16  ⒘ - 17  ⒙ - 18  
⒚ - 19  ⒛ - 20  ⓪ - 0   ⓫ - 11  ⓬ - 12  ⓭ - 13  ⓮ - 14  ⓯ - 15  ⓰ - 16  ⓱ - 17  
⓲ - 18  ⓳ - 19  ⓴ - 20  ⓵ - 1   ⓶ - 2   ⓷ - 3   ⓸ - 4   ⓹ - 5   ⓺ - 6   ⓻ - 7   
⓼ - 8   ⓽ - 9   ⓾ - 10  ⓿ - 0   ❶ - 1   ❷ - 2   ❸ - 3   ❹ - 4   ❺ - 5   ❻ - 6   
❼ - 7   ❽ - 8   ❾ - 9   ❿ - 10  ➀ - 1   ➁ - 2   ➂ - 3   ➃ - 4   ➄ - 5   ➅ - 6   
➆ - 7   ➇ - 8   ➈ - 9   ➉ - 10  ➊ - 1   ➋ - 2   ➌ - 3   ➍ - 4   ➎ - 5   ➏ - 6   
➐ - 7   ➑ - 8   ➒ - 9   ➓ - 10  ⳽ - 0.5 〇 - 0   〡 - 1   〢 - 2   〣 - 3   〤 - 4   
〥 - 5   〦 - 6   〧 - 7   〨 - 8   〩 - 9   〸 - 10  〹 - 20  〺 - 30  ㆒ - 1   ㆓ - 2   
㆔ - 3   ㆕ - 4   ㈠ - 1   ㈡ - 2   ㈢ - 3   ㈣ - 4   ㈤ - 5   ㈥ - 6   ㈦ - 7   ㈧ - 8   
㈨ - 9   ㈩ - 10  ㉑ - 21  ㉒ - 22  ㉓ - 23  ㉔ - 24  ㉕ - 25  ㉖ - 26  ㉗ - 27  ㉘ - 28  
㉙ - 29  ㉚ - 30  ㉛ - 31  ㉜ - 32  ㉝ - 33  ㉞ - 34  ㉟ - 35  ㊀ - 1   ㊁ - 2   ㊂ - 3   
㊃ - 4   ㊄ - 5   ㊅ - 6   ㊆ - 7   ㊇ - 8   ㊈ - 9   ㊉ - 10  ㊱ - 36  ㊲ - 37  ㊳ - 38  
㊴ - 39  ㊵ - 40  ㊶ - 41  ㊷ - 42  ㊸ - 43  ㊹ - 44  ㊺ - 45  ㊻ - 46  ㊼ - 47  ㊽ - 48  
㊾ - 49  ㊿ - 50  0 - 0   1 - 1   2 - 2   3 - 3   4 - 4   5 - 5   6 - 6   7 - 7   
8 - 8   9 - 9
6
  • 6
    Holy crap! Where'd you get this?
    – Dan Tao
    Commented May 19, 2010 at 15:56
  • 1
    Looks like for( char c = 1; c <= char.MaxValue; c++ )
    – Adam Sills
    Commented May 19, 2010 at 15:58
  • 13
    Disappointed that Pi is only classified as a letter and not a number.
    – Adam Sills
    Commented May 19, 2010 at 16:06
  • 4
    @Adam Sills: Me too, but then you would also have to let in at least e, and depending on their popularity, maybe others like rho.
    – maxwellb
    Commented Aug 3, 2010 at 21:49
  • 4
    And if you allowed e, you might have to allow i, and then even float is no longer an adequate return type!
    – Todd Owen
    Commented Jan 16, 2013 at 22:34
2

Each Unicode character belongs to a category and has a number of properties. The details are maintained by the Unicode Consortium in a list called Unicode Character Database with the main file describing characters being UnicodeData.txt. If a character belongs to category Number, and has the property Numeric_Type then it's a numeric value, and char.GetNumericValue() will return that value.

As there are 0x10FFFF Unicode characters, the list in John Rasch's answer is far from comprehensive because only numbers in the BMP (code points up to 0xFFFF) are listed which consist only 1/17 of the total Unicode space. I've written a small program below to print all numeric code points including the ones outside the BMP

You can check the characters' numeric values in UnicodeData.txt, if the corresponding code point is numeric then there will be many related fields in the line. For example for U+109BC you can see this, which means it represents ¹¹⁄ ₁₂:

109BC;MEROITIC CURSIVE FRACTION ELEVEN TWELFTHS;No;0;R;;;;11/12;N;;;;;

Notice the 11/12 field near the end, it gives you the exact fractional value which can't even be achieved when using binary floating-point types like in char.GetNumericValue(). A more detailed numeric description can be found in DerivedNumericType.txt. One example line of it:

11FC0..11FD4  ; Numeric # No  [21] TAMIL FRACTION ONE THREE-HUNDRED-AND-TWENTIETH..TAMIL FRACTION DOWNSCALING FACTOR KIIZH

For more detailed information read


Following is the program to print all numeric values of code points

using System;
using System.Globalization;
using System.Threading;

public class Program
{
    public static void Main()
    {
        Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US");
        Console.OutputEncoding = System.Text.Encoding.UTF8;

        int c = 0;
        // Print from i = 1 for all the possible numbers,
        //            i = 0x10000 for numbers outside the BMP
        for (int i = 0x10000; i < 0x10FFFF; i++)
        {
            try
            {
                var ch = char.ConvertFromUtf32(i);
                var numericValue = char.GetNumericValue(ch, 0);
                if (numericValue != -1)
                {
                    Console.Write("|U+{0:X5} ({1}): {2}", i, ch, numericValue);
                    if (c == 4)
                    {
                        Console.WriteLine("|");
                        c = 0;
                    }
                    else
                        c++;
                }
            }
            catch
            {
            }
        }
    }
}

You can change the initial value of the loop to get all numeric values

I'm using .NET Core 3.1 so Unicode 11.0 will be used. If you run it in .NET 5 you'll get Unicode 13.0 output, and later versions may have more digits

Here the program's the output in Unicode 11.0:

         
U+10107 (𐄇): 1 U+10108 (𐄈): 2 U+10109 (𐄉): 3 U+1010A (𐄊): 4 U+1010B (𐄋): 5
U+1010C (𐄌): 6 U+1010D (𐄍): 7 U+1010E (𐄎): 8 U+1010F (𐄏): 9 U+10110 (𐄐): 10
U+10111 (𐄑): 20 U+10112 (𐄒): 30 U+10113 (𐄓): 40 U+10114 (𐄔): 50 U+10115 (𐄕): 60
U+10116 (𐄖): 70 U+10117 (𐄗): 80 U+10118 (𐄘): 90 U+10119 (𐄙): 100 U+1011A (𐄚): 200
U+1011B (𐄛): 300 U+1011C (𐄜): 400 U+1011D (𐄝): 500 U+1011E (𐄞): 600 U+1011F (𐄟): 700
U+10120 (𐄠): 800 U+10121 (𐄡): 900 U+10122 (𐄢): 1000 U+10123 (𐄣): 2000 U+10124 (𐄤): 3000
U+10125 (𐄥): 4000 U+10126 (𐄦): 5000 U+10127 (𐄧): 6000 U+10128 (𐄨): 7000 U+10129 (𐄩): 8000
U+1012A (𐄪): 9000 U+1012B (𐄫): 10000 U+1012C (𐄬): 20000 U+1012D (𐄭): 30000 U+1012E (𐄮): 40000
U+1012F (𐄯): 50000 U+10130 (𐄰): 60000 U+10131 (𐄱): 70000 U+10132 (𐄲): 80000 U+10133 (𐄳): 90000
U+10140 (𐅀): 0.25 U+10141 (𐅁): 0.5 U+10142 (𐅂): 1 U+10143 (𐅃): 5 U+10144 (𐅄): 50
U+10145 (𐅅): 500 U+10146 (𐅆): 5000 U+10147 (𐅇): 50000 U+10148 (𐅈): 5 U+10149 (𐅉): 10
U+1014A (𐅊): 50 U+1014B (𐅋): 100 U+1014C (𐅌): 500 U+1014D (𐅍): 1000 U+1014E (𐅎): 5000
U+1014F (𐅏): 5 U+10150 (𐅐): 10 U+10151 (𐅑): 50 U+10152 (𐅒): 100 U+10153 (𐅓): 500
U+10154 (𐅔): 1000 U+10155 (𐅕): 10000 U+10156 (𐅖): 50000 U+10157 (𐅗): 10 U+10158 (𐅘): 1
U+10159 (𐅙): 1 U+1015A (𐅚): 1 U+1015B (𐅛): 2 U+1015C (𐅜): 2 U+1015D (𐅝): 2
U+1015E (𐅞): 2 U+1015F (𐅟): 5 U+10160 (𐅠): 10 U+10161 (𐅡): 10 U+10162 (𐅢): 10
U+10163 (𐅣): 10 U+10164 (𐅤): 10 U+10165 (𐅥): 30 U+10166 (𐅦): 50 U+10167 (𐅧): 50
U+10168 (𐅨): 50 U+10169 (𐅩): 50 U+1016A (𐅪): 100 U+1016B (𐅫): 300 U+1016C (𐅬): 500
U+1016D (𐅭): 500 U+1016E (𐅮): 500 U+1016F (𐅯): 500 U+10170 (𐅰): 500 U+10171 (𐅱): 1000
U+10172 (𐅲): 5000 U+10173 (𐅳): 5 U+10174 (𐅴): 50 U+10175 (𐅵): 0.5 U+10176 (𐅶): 0.5
U+10177 (𐅷): 0.6666666666666666 U+10178 (𐅸): 0.75 U+1018A (𐆊): 0 U+1018B (𐆋): 0.25 U+102E1 (𐋡): 1
U+102E2 (𐋢): 2 U+102E3 (𐋣): 3 U+102E4 (𐋤): 4 U+102E5 (𐋥): 5 U+102E6 (𐋦): 6
U+102E7 (𐋧): 7 U+102E8 (𐋨): 8 U+102E9 (𐋩): 9 U+102EA (𐋪): 10 U+102EB (𐋫): 20
U+102EC (𐋬): 30 U+102ED (𐋭): 40 U+102EE (𐋮): 50 U+102EF (𐋯): 60 U+102F0 (𐋰): 70
U+102F1 (𐋱): 80 U+102F2 (𐋲): 90 U+102F3 (𐋳): 100 U+102F4 (𐋴): 200 U+102F5 (𐋵): 300
U+102F6 (𐋶): 400 U+102F7 (𐋷): 500 U+102F8 (𐋸): 600 U+102F9 (𐋹): 700 U+102FA (𐋺): 800
U+102FB (𐋻): 900 U+10320 (𐌠): 1 U+10321 (𐌡): 5 U+10322 (𐌢): 10 U+10323 (𐌣): 50
U+10341 (𐍁): 90 U+1034A (𐍊): 900 U+103D1 (𐏑): 1 U+103D2 (𐏒): 2 U+103D3 (𐏓): 10
U+103D4 (𐏔): 20 U+103D5 (𐏕): 100 U+104A0 (𐒠): 0 U+104A1 (𐒡): 1 U+104A2 (𐒢): 2
U+104A3 (𐒣): 3 U+104A4 (𐒤): 4 U+104A5 (𐒥): 5 U+104A6 (𐒦): 6 U+104A7 (𐒧): 7
U+104A8 (𐒨): 8 U+104A9 (𐒩): 9 U+10858 (𐡘): 1 U+10859 (𐡙): 2 U+1085A (𐡚): 3
U+1085B (𐡛): 10 U+1085C (𐡜): 20 U+1085D (𐡝): 100 U+1085E (𐡞): 1000 U+1085F (𐡟): 10000
U+10879 (𐡹): 1 U+1087A (𐡺): 2 U+1087B (𐡻): 3 U+1087C (𐡼): 4 U+1087D (𐡽): 5
U+1087E (𐡾): 10 U+1087F (𐡿): 20 U+108A7 (𐢧): 1 U+108A8 (𐢨): 2 U+108A9 (𐢩): 3
U+108AA (𐢪): 4 U+108AB (𐢫): 4 U+108AC (𐢬): 5 U+108AD (𐢭): 10 U+108AE (𐢮): 20
U+108AF (𐢯): 100 U+108FB (𐣻): 1 U+108FC (𐣼): 5 U+108FD (𐣽): 10 U+108FE (𐣾): 20
U+108FF (𐣿): 100 U+10916 (𐤖): 1 U+10917 (𐤗): 10 U+10918 (𐤘): 20 U+10919 (𐤙): 100
U+1091A (𐤚): 2 U+1091B (𐤛): 3 U+109BC (𐦼): 0.9166666666666666 U+109BD (𐦽): 0.5 U+109C0 (𐧀): 1
U+109C1 (𐧁): 2 U+109C2 (𐧂): 3 U+109C3 (𐧃): 4 U+109C4 (𐧄): 5 U+109C5 (𐧅): 6
U+109C6 (𐧆): 7 U+109C7 (𐧇): 8 U+109C8 (𐧈): 9 U+109C9 (𐧉): 10 U+109CA (𐧊): 20
U+109CB (𐧋): 30 U+109CC (𐧌): 40 U+109CD (𐧍): 50 U+109CE (𐧎): 60 U+109CF (𐧏): 70
U+109D2 (𐧒): 100 U+109D3 (𐧓): 200 U+109D4 (𐧔): 300 U+109D5 (𐧕): 400 U+109D6 (𐧖): 500
U+109D7 (𐧗): 600 U+109D8 (𐧘): 700 U+109D9 (𐧙): 800 U+109DA (𐧚): 900 U+109DB (𐧛): 1000
U+109DC (𐧜): 2000 U+109DD (𐧝): 3000 U+109DE (𐧞): 4000 U+109DF (𐧟): 5000 U+109E0 (𐧠): 6000
U+109E1 (𐧡): 7000 U+109E2 (𐧢): 8000 U+109E3 (𐧣): 9000 U+109E4 (𐧤): 10000 U+109E5 (𐧥): 20000
U+109E6 (𐧦): 30000 U+109E7 (𐧧): 40000 U+109E8 (𐧨): 50000 U+109E9 (𐧩): 60000 U+109EA (𐧪): 70000
U+109EB (𐧫): 80000 U+109EC (𐧬): 90000 U+109ED (𐧭): 100000 U+109EE (𐧮): 200000 U+109EF (𐧯): 300000
U+109F0 (𐧰): 400000 U+109F1 (𐧱): 500000 U+109F2 (𐧲): 600000 U+109F3 (𐧳): 700000 U+109F4 (𐧴): 800000
U+109F5 (𐧵): 900000 U+109F6 (𐧶): 0.08333333333333333 U+109F7 (𐧷): 0.16666666666666666 U+109F8 (𐧸): 0.25 U+109F9 (𐧹): 0.3333333333333333
U+109FA (𐧺): 0.4166666666666667 U+109FB (𐧻): 0.5 U+109FC (𐧼): 0.5833333333333334 U+109FD (𐧽): 0.6666666666666666 U+109FE (𐧾): 0.75
U+109FF (𐧿): 0.8333333333333334 U+10A40 (𐩀): 1 U+10A41 (𐩁): 2 U+10A42 (𐩂): 3 U+10A43 (𐩃): 4
U+10A44 (𐩄): 10 U+10A45 (𐩅): 20 U+10A46 (𐩆): 100 U+10A47 (𐩇): 1000 U+10A48 (𐩈): 0.5
U+10A7D (𐩽): 1 U+10A7E (𐩾): 50 U+10A9D (𐪝): 1 U+10A9E (𐪞): 10 U+10A9F (𐪟): 20
U+10AEB (𐫫): 1 U+10AEC (𐫬): 5 U+10AED (𐫭): 10 U+10AEE (𐫮): 20 U+10AEF (𐫯): 100
U+10B58 (𐭘): 1 U+10B59 (𐭙): 2 U+10B5A (𐭚): 3 U+10B5B (𐭛): 4 U+10B5C (𐭜): 10
U+10B5D (𐭝): 20 U+10B5E (𐭞): 100 U+10B5F (𐭟): 1000 U+10B78 (𐭸): 1 U+10B79 (𐭹): 2
U+10B7A (𐭺): 3 U+10B7B (𐭻): 4 U+10B7C (𐭼): 10 U+10B7D (𐭽): 20 U+10B7E (𐭾): 100
U+10B7F (𐭿): 1000 U+10BA9 (𐮩): 1 U+10BAA (𐮪): 2 U+10BAB (𐮫): 3 U+10BAC (𐮬): 4
U+10BAD (𐮭): 10 U+10BAE (𐮮): 20 U+10BAF (𐮯): 100 U+10CFA (𐳺): 1 U+10CFB (𐳻): 5
U+10CFC (𐳼): 10 U+10CFD (𐳽): 50 U+10CFE (𐳾): 100 U+10CFF (𐳿): 1000 U+10D30 (𐴰): 0
U+10D31 (𐴱): 1 U+10D32 (𐴲): 2 U+10D33 (𐴳): 3 U+10D34 (𐴴): 4 U+10D35 (𐴵): 5
U+10D36 (𐴶): 6 U+10D37 (𐴷): 7 U+10D38 (𐴸): 8 U+10D39 (𐴹): 9 U+10E60 (𐹠): 1
U+10E61 (𐹡): 2 U+10E62 (𐹢): 3 U+10E63 (𐹣): 4 U+10E64 (𐹤): 5 U+10E65 (𐹥): 6
U+10E66 (𐹦): 7 U+10E67 (𐹧): 8 U+10E68 (𐹨): 9 U+10E69 (𐹩): 10 U+10E6A (𐹪): 20
U+10E6B (𐹫): 30 U+10E6C (𐹬): 40 U+10E6D (𐹭): 50 U+10E6E (𐹮): 60 U+10E6F (𐹯): 70
U+10E70 (𐹰): 80 U+10E71 (𐹱): 90 U+10E72 (𐹲): 100 U+10E73 (𐹳): 200 U+10E74 (𐹴): 300
U+10E75 (𐹵): 400 U+10E76 (𐹶): 500 U+10E77 (𐹷): 600 U+10E78 (𐹸): 700 U+10E79 (𐹹): 800
U+10E7A (𐹺): 900 U+10E7B (𐹻): 0.5 U+10E7C (𐹼): 0.25 U+10E7D (𐹽): 0.3333333333333333 U+10E7E (𐹾): 0.6666666666666666
U+10F1D (𐼝): 1 U+10F1E (𐼞): 2 U+10F1F (𐼟): 3 U+10F20 (𐼠): 4 U+10F21 (𐼡): 5
U+10F22 (𐼢): 10 U+10F23 (𐼣): 20 U+10F24 (𐼤): 30 U+10F25 (𐼥): 100 U+10F26 (𐼦): 0.5
U+10F51 (𐽑): 1 U+10F52 (𐽒): 10 U+10F53 (𐽓): 20 U+10F54 (𐽔): 100 U+11052 (𑁒): 1
U+11053 (𑁓): 2 U+11054 (𑁔): 3 U+11055 (𑁕): 4 U+11056 (𑁖): 5 U+11057 (𑁗): 6
U+11058 (𑁘): 7 U+11059 (𑁙): 8 U+1105A (𑁚): 9 U+1105B (𑁛): 10 U+1105C (𑁜): 20
U+1105D (𑁝): 30 U+1105E (𑁞): 40 U+1105F (𑁟): 50 U+11060 (𑁠): 60 U+11061 (𑁡): 70
U+11062 (𑁢): 80 U+11063 (𑁣): 90 U+11064 (𑁤): 100 U+11065 (𑁥): 1000 U+11066 (𑁦): 0
U+11067 (𑁧): 1 U+11068 (𑁨): 2 U+11069 (𑁩): 3 U+1106A (𑁪): 4 U+1106B (𑁫): 5
U+1106C (𑁬): 6 U+1106D (𑁭): 7 U+1106E (𑁮): 8 U+1106F (𑁯): 9 U+110F0 (𑃰): 0
U+110F1 (𑃱): 1 U+110F2 (𑃲): 2 U+110F3 (𑃳): 3 U+110F4 (𑃴): 4 U+110F5 (𑃵): 5
U+110F6 (𑃶): 6 U+110F7 (𑃷): 7 U+110F8 (𑃸): 8 U+110F9 (𑃹): 9 U+11136 (𑄶): 0
U+11137 (𑄷): 1 U+11138 (𑄸): 2 U+11139 (𑄹): 3 U+1113A (𑄺): 4 U+1113B (𑄻): 5
U+1113C (𑄼): 6 U+1113D (𑄽): 7 U+1113E (𑄾): 8 U+1113F (𑄿): 9 U+111D0 (𑇐): 0
U+111D1 (𑇑): 1 U+111D2 (𑇒): 2 U+111D3 (𑇓): 3 U+111D4 (𑇔): 4 U+111D5 (𑇕): 5
U+111D6 (𑇖): 6 U+111D7 (𑇗): 7 U+111D8 (𑇘): 8 U+111D9 (𑇙): 9 U+111E1 (𑇡): 1
U+111E2 (𑇢): 2 U+111E3 (𑇣): 3 U+111E4 (𑇤): 4 U+111E5 (𑇥): 5 U+111E6 (𑇦): 6
U+111E7 (𑇧): 7 U+111E8 (𑇨): 8 U+111E9 (𑇩): 9 U+111EA (𑇪): 10 U+111EB (𑇫): 20
U+111EC (𑇬): 30 U+111ED (𑇭): 40 U+111EE (𑇮): 50 U+111EF (𑇯): 60 U+111F0 (𑇰): 70
U+111F1 (𑇱): 80 U+111F2 (𑇲): 90 U+111F3 (𑇳): 100 U+111F4 (𑇴): 1000 U+112F0 (𑋰): 0
U+112F1 (𑋱): 1 U+112F2 (𑋲): 2 U+112F3 (𑋳): 3 U+112F4 (𑋴): 4 U+112F5 (𑋵): 5
U+112F6 (𑋶): 6 U+112F7 (𑋷): 7 U+112F8 (𑋸): 8 U+112F9 (𑋹): 9 U+11450 (𑑐): 0
U+11451 (𑑑): 1 U+11452 (𑑒): 2 U+11453 (𑑓): 3 U+11454 (𑑔): 4 U+11455 (𑑕): 5
U+11456 (𑑖): 6 U+11457 (𑑗): 7 U+11458 (𑑘): 8 U+11459 (𑑙): 9 U+114D0 (𑓐): 0
U+114D1 (𑓑): 1 U+114D2 (𑓒): 2 U+114D3 (𑓓): 3 U+114D4 (𑓔): 4 U+114D5 (𑓕): 5
U+114D6 (𑓖): 6 U+114D7 (𑓗): 7 U+114D8 (𑓘): 8 U+114D9 (𑓙): 9 U+11650 (𑙐): 0
U+11651 (𑙑): 1 U+11652 (𑙒): 2 U+11653 (𑙓): 3 U+11654 (𑙔): 4 U+11655 (𑙕): 5
U+11656 (𑙖): 6 U+11657 (𑙗): 7 U+11658 (𑙘): 8 U+11659 (𑙙): 9 U+116C0 (𑛀): 0
U+116C1 (𑛁): 1 U+116C2 (𑛂): 2 U+116C3 (𑛃): 3 U+116C4 (𑛄): 4 U+116C5 (𑛅): 5
U+116C6 (𑛆): 6 U+116C7 (𑛇): 7 U+116C8 (𑛈): 8 U+116C9 (𑛉): 9 U+11730 (𑜰): 0
U+11731 (𑜱): 1 U+11732 (𑜲): 2 U+11733 (𑜳): 3 U+11734 (𑜴): 4 U+11735 (𑜵): 5
U+11736 (𑜶): 6 U+11737 (𑜷): 7 U+11738 (𑜸): 8 U+11739 (𑜹): 9 U+1173A (𑜺): 10
U+1173B (𑜻): 20 U+118E0 (𑣠): 0 U+118E1 (𑣡): 1 U+118E2 (𑣢): 2 U+118E3 (𑣣): 3
U+118E4 (𑣤): 4 U+118E5 (𑣥): 5 U+118E6 (𑣦): 6 U+118E7 (𑣧): 7 U+118E8 (𑣨): 8
U+118E9 (𑣩): 9 U+118EA (𑣪): 10 U+118EB (𑣫): 20 U+118EC (𑣬): 30 U+118ED (𑣭): 40
U+118EE (𑣮): 50 U+118EF (𑣯): 60 U+118F0 (𑣰): 70 U+118F1 (𑣱): 80 U+118F2 (𑣲): 90
U+11C50 (𑱐): 0 U+11C51 (𑱑): 1 U+11C52 (𑱒): 2 U+11C53 (𑱓): 3 U+11C54 (𑱔): 4
U+11C55 (𑱕): 5 U+11C56 (𑱖): 6 U+11C57 (𑱗): 7 U+11C58 (𑱘): 8 U+11C59 (𑱙): 9
U+11C5A (𑱚): 1 U+11C5B (𑱛): 2 U+11C5C (𑱜): 3 U+11C5D (𑱝): 4 U+11C5E (𑱞): 5
U+11C5F (𑱟): 6 U+11C60 (𑱠): 7 U+11C61 (𑱡): 8 U+11C62 (𑱢): 9 U+11C63 (𑱣): 10
U+11C64 (𑱤): 20 U+11C65 (𑱥): 30 U+11C66 (𑱦): 40 U+11C67 (𑱧): 50 U+11C68 (𑱨): 60
U+11C69 (𑱩): 70 U+11C6A (𑱪): 80 U+11C6B (𑱫): 90 U+11C6C (𑱬): 100 U+11D50 (𑵐): 0
U+11D51 (𑵑): 1 U+11D52 (𑵒): 2 U+11D53 (𑵓): 3 U+11D54 (𑵔): 4 U+11D55 (𑵕): 5
U+11D56 (𑵖): 6 U+11D57 (𑵗): 7 U+11D58 (𑵘): 8 U+11D59 (𑵙): 9 U+11DA0 (𑶠): 0
U+11DA1 (𑶡): 1 U+11DA2 (𑶢): 2 U+11DA3 (𑶣): 3 U+11DA4 (𑶤): 4 U+11DA5 (𑶥): 5
U+11DA6 (𑶦): 6 U+11DA7 (𑶧): 7 U+11DA8 (𑶨): 8 U+11DA9 (𑶩): 9 U+12400 (𒐀): 2
U+12401 (𒐁): 3 U+12402 (𒐂): 4 U+12403 (𒐃): 5 U+12404 (𒐄): 6 U+12405 (𒐅): 7
U+12406 (𒐆): 8 U+12407 (𒐇): 9 U+12408 (𒐈): 3 U+12409 (𒐉): 4 U+1240A (𒐊): 5
U+1240B (𒐋): 6 U+1240C (𒐌): 7 U+1240D (𒐍): 8 U+1240E (𒐎): 9 U+1240F (𒐏): 4
U+12410 (𒐐): 5 U+12411 (𒐑): 6 U+12412 (𒐒): 7 U+12413 (𒐓): 8 U+12414 (𒐔): 9
U+12415 (𒐕): 1 U+12416 (𒐖): 2 U+12417 (𒐗): 3 U+12418 (𒐘): 4 U+12419 (𒐙): 5
U+1241A (𒐚): 6 U+1241B (𒐛): 7 U+1241C (𒐜): 8 U+1241D (𒐝): 9 U+1241E (𒐞): 1
U+1241F (𒐟): 2 U+12420 (𒐠): 3 U+12421 (𒐡): 4 U+12422 (𒐢): 5 U+12423 (𒐣): 2
U+12424 (𒐤): 3 U+12425 (𒐥): 3 U+12426 (𒐦): 4 U+12427 (𒐧): 5 U+12428 (𒐨): 6
U+12429 (𒐩): 7 U+1242A (𒐪): 8 U+1242B (𒐫): 9 U+1242C (𒐬): 1 U+1242D (𒐭): 2
U+1242E (𒐮): 3 U+1242F (𒐯): 3 U+12430 (𒐰): 4 U+12431 (𒐱): 5 U+12432 (𒐲): 216000
U+12433 (𒐳): 432000 U+12434 (𒐴): 1 U+12435 (𒐵): 2 U+12436 (𒐶): 3 U+12437 (𒐷): 3
U+12438 (𒐸): 4 U+12439 (𒐹): 5 U+1243A (𒐺): 3 U+1243B (𒐻): 3 U+1243C (𒐼): 4
U+1243D (𒐽): 4 U+1243E (𒐾): 4 U+1243F (𒐿): 4 U+12440 (𒑀): 6 U+12441 (𒑁): 7
U+12442 (𒑂): 7 U+12443 (𒑃): 7 U+12444 (𒑄): 8 U+12445 (𒑅): 8 U+12446 (𒑆): 9
U+12447 (𒑇): 9 U+12448 (𒑈): 9 U+12449 (𒑉): 9 U+1244A (𒑊): 2 U+1244B (𒑋): 3
U+1244C (𒑌): 4 U+1244D (𒑍): 5 U+1244E (𒑎): 6 U+1244F (𒑏): 1 U+12450 (𒑐): 2
U+12451 (𒑑): 3 U+12452 (𒑒): 4 U+12453 (𒑓): 4 U+12454 (𒑔): 5 U+12455 (𒑕): 5
U+12456 (𒑖): 2 U+12457 (𒑗): 3 U+12458 (𒑘): 1 U+12459 (𒑙): 2 U+1245A (𒑚): 0.3333333333333333
U+1245B (𒑛): 0.6666666666666666 U+1245C (𒑜): 0.8333333333333334 U+1245D (𒑝): 0.3333333333333333 U+1245E (𒑞): 0.6666666666666666 U+1245F (𒑟): 0.125
U+12460 (𒑠): 0.25 U+12461 (𒑡): 0.16666666666666666 U+12462 (𒑢): 0.25 U+12463 (𒑣): 0.25 U+12464 (𒑤): 0.5
U+12465 (𒑥): 0.3333333333333333 U+12466 (𒑦): 0.6666666666666666 U+12467 (𒑧): 40 U+12468 (𒑨): 50 U+12469 (𒑩): 4
U+1246A (𒑪): 5 U+1246B (𒑫): 6 U+1246C (𒑬): 7 U+1246D (𒑭): 8 U+1246E (𒑮): 9
U+16A60 (𖩠): 0 U+16A61 (𖩡): 1 U+16A62 (𖩢): 2 U+16A63 (𖩣): 3 U+16A64 (𖩤): 4
U+16A65 (𖩥): 5 U+16A66 (𖩦): 6 U+16A67 (𖩧): 7 U+16A68 (𖩨): 8 U+16A69 (𖩩): 9
U+16B50 (𖭐): 0 U+16B51 (𖭑): 1 U+16B52 (𖭒): 2 U+16B53 (𖭓): 3 U+16B54 (𖭔): 4
U+16B55 (𖭕): 5 U+16B56 (𖭖): 6 U+16B57 (𖭗): 7 U+16B58 (𖭘): 8 U+16B59 (𖭙): 9
U+16B5B (𖭛): 10 U+16B5C (𖭜): 100 U+16B5D (𖭝): 10000 U+16B5E (𖭞): 1000000 U+16B5F (𖭟): 100000000
U+16B60 (𖭠): 10000000000 U+16B61 (𖭡): 1000000000000 U+16E80 (𖺀): 0 U+16E81 (𖺁): 1 U+16E82 (𖺂): 2
U+16E83 (𖺃): 3 U+16E84 (𖺄): 4 U+16E85 (𖺅): 5 U+16E86 (𖺆): 6 U+16E87 (𖺇): 7
U+16E88 (𖺈): 8 U+16E89 (𖺉): 9 U+16E8A (𖺊): 10 U+16E8B (𖺋): 11 U+16E8C (𖺌): 12
U+16E8D (𖺍): 13 U+16E8E (𖺎): 14 U+16E8F (𖺏): 15 U+16E90 (𖺐): 16 U+16E91 (𖺑): 17
U+16E92 (𖺒): 18 U+16E93 (𖺓): 19 U+16E94 (𖺔): 1 U+16E95 (𖺕): 2 U+16E96 (𖺖): 3
U+1D2E0 (𝋠): 0 U+1D2E1 (𝋡): 1 U+1D2E2 (𝋢): 2 U+1D2E3 (𝋣): 3 U+1D2E4 (𝋤): 4
U+1D2E5 (𝋥): 5 U+1D2E6 (𝋦): 6 U+1D2E7 (𝋧): 7 U+1D2E8 (𝋨): 8 U+1D2E9 (𝋩): 9
U+1D2EA (𝋪): 10 U+1D2EB (𝋫): 11 U+1D2EC (𝋬): 12 U+1D2ED (𝋭): 13 U+1D2EE (𝋮): 14
U+1D2EF (𝋯): 15 U+1D2F0 (𝋰): 16 U+1D2F1 (𝋱): 17 U+1D2F2 (𝋲): 18 U+1D2F3 (𝋳): 19
U+1D360 (𝍠): 1 U+1D361 (𝍡): 2 U+1D362 (𝍢): 3 U+1D363 (𝍣): 4 U+1D364 (𝍤): 5
U+1D365 (𝍥): 6 U+1D366 (𝍦): 7 U+1D367 (𝍧): 8 U+1D368 (𝍨): 9 U+1D369 (𝍩): 10
U+1D36A (𝍪): 20 U+1D36B (𝍫): 30 U+1D36C (𝍬): 40 U+1D36D (𝍭): 50 U+1D36E (𝍮): 60
U+1D36F (𝍯): 70 U+1D370 (𝍰): 80 U+1D371 (𝍱): 90 U+1D372 (𝍲): 1 U+1D373 (𝍳): 2
U+1D374 (𝍴): 3 U+1D375 (𝍵): 4 U+1D376 (𝍶): 5 U+1D377 (𝍷): 1 U+1D378 (𝍸): 5
U+1D7CE (𝟎): 0 U+1D7CF (𝟏): 1 U+1D7D0 (𝟐): 2 U+1D7D1 (𝟑): 3 U+1D7D2 (𝟒): 4
U+1D7D3 (𝟓): 5 U+1D7D4 (𝟔): 6 U+1D7D5 (𝟕): 7 U+1D7D6 (𝟖): 8 U+1D7D7 (𝟗): 9
U+1D7D8 (𝟘): 0 U+1D7D9 (𝟙): 1 U+1D7DA (𝟚): 2 U+1D7DB (𝟛): 3 U+1D7DC (𝟜): 4
U+1D7DD (𝟝): 5 U+1D7DE (𝟞): 6 U+1D7DF (𝟟): 7 U+1D7E0 (𝟠): 8 U+1D7E1 (𝟡): 9
U+1D7E2 (𝟢): 0 U+1D7E3 (𝟣): 1 U+1D7E4 (𝟤): 2 U+1D7E5 (𝟥): 3 U+1D7E6 (𝟦): 4
U+1D7E7 (𝟧): 5 U+1D7E8 (𝟨): 6 U+1D7E9 (𝟩): 7 U+1D7EA (𝟪): 8 U+1D7EB (𝟫): 9
U+1D7EC (𝟬): 0 U+1D7ED (𝟭): 1 U+1D7EE (𝟮): 2 U+1D7EF (𝟯): 3 U+1D7F0 (𝟰): 4
U+1D7F1 (𝟱): 5 U+1D7F2 (𝟲): 6 U+1D7F3 (𝟳): 7 U+1D7F4 (𝟴): 8 U+1D7F5 (𝟵): 9
U+1D7F6 (𝟶): 0 U+1D7F7 (𝟷): 1 U+1D7F8 (𝟸): 2 U+1D7F9 (𝟹): 3 U+1D7FA (𝟺): 4
U+1D7FB (𝟻): 5 U+1D7FC (𝟼): 6 U+1D7FD (𝟽): 7 U+1D7FE (𝟾): 8 U+1D7FF (𝟿): 9
U+1E8C7 (𞣇): 1 U+1E8C8 (𞣈): 2 U+1E8C9 (𞣉): 3 U+1E8CA (𞣊): 4 U+1E8CB (𞣋): 5
U+1E8CC (𞣌): 6 U+1E8CD (𞣍): 7 U+1E8CE (𞣎): 8 U+1E8CF (𞣏): 9 U+1E950 (𞥐): 0
U+1E951 (𞥑): 1 U+1E952 (𞥒): 2 U+1E953 (𞥓): 3 U+1E954 (𞥔): 4 U+1E955 (𞥕): 5
U+1E956 (𞥖): 6 U+1E957 (𞥗): 7 U+1E958 (𞥘): 8 U+1E959 (𞥙): 9 U+1EC71 (𞱱): 1
U+1EC72 (𞱲): 2 U+1EC73 (𞱳): 3 U+1EC74 (𞱴): 4 U+1EC75 (𞱵): 5 U+1EC76 (𞱶): 6
U+1EC77 (𞱷): 7 U+1EC78 (𞱸): 8 U+1EC79 (𞱹): 9 U+1EC7A (𞱺): 10 U+1EC7B (𞱻): 20
U+1EC7C (𞱼): 30 U+1EC7D (𞱽): 40 U+1EC7E (𞱾): 50 U+1EC7F (𞱿): 60 U+1EC80 (𞲀): 70
U+1EC81 (𞲁): 80 U+1EC82 (𞲂): 90 U+1EC83 (𞲃): 100 U+1EC84 (𞲄): 200 U+1EC85 (𞲅): 300
U+1EC86 (𞲆): 400 U+1EC87 (𞲇): 500 U+1EC88 (𞲈): 600 U+1EC89 (𞲉): 700 U+1EC8A (𞲊): 800
U+1EC8B (𞲋): 900 U+1EC8C (𞲌): 1000 U+1EC8D (𞲍): 2000 U+1EC8E (𞲎): 3000 U+1EC8F (𞲏): 4000
U+1EC90 (𞲐): 5000 U+1EC91 (𞲑): 6000 U+1EC92 (𞲒): 7000 U+1EC93 (𞲓): 8000 U+1EC94 (𞲔): 9000
U+1EC95 (𞲕): 10000 U+1EC96 (𞲖): 20000 U+1EC97 (𞲗): 30000 U+1EC98 (𞲘): 40000 U+1EC99 (𞲙): 50000
U+1EC9A (𞲚): 60000 U+1EC9B (𞲛): 70000 U+1EC9C (𞲜): 80000 U+1EC9D (𞲝): 90000 U+1EC9E (𞲞): 100000
U+1EC9F (𞲟): 200000 U+1ECA0 (𞲠): 100000 U+1ECA1 (𞲡): 10000000 U+1ECA2 (𞲢): 20000000 U+1ECA3 (𞲣): 1
U+1ECA4 (𞲤): 2 U+1ECA5 (𞲥): 3 U+1ECA6 (𞲦): 4 U+1ECA7 (𞲧): 5 U+1ECA8 (𞲨): 6
U+1ECA9 (𞲩): 7 U+1ECAA (𞲪): 8 U+1ECAB (𞲫): 9 U+1ECAD (𞲭): 0.25 U+1ECAE (𞲮): 0.5
U+1ECAF (𞲯): 0.75 U+1ECB1 (𞲱): 1 U+1ECB2 (𞲲): 2 U+1ECB3 (𞲳): 10000 U+1ECB4 (𞲴): 100000
U+1F100 (🄀): 0 U+1F101 (🄁): 0 U+1F102 (🄂): 1 U+1F103 (🄃): 2 U+1F104 (🄄): 3
U+1F105 (🄅): 4 U+1F106 (🄆): 5 U+1F107 (🄇): 6 U+1F108 (🄈): 7 U+1F109 (🄉): 8
U+1F10A (🄊): 9 U+1F10B (🄋): 0 U+1F10C (🄌): 0 U+2F890 (廾): 9

Probably your browser probably won't be able to render lots of the above characters without installing more fonts, but you'll still see some interesting letters

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.