Diferencia entre Char.IsDigit () y Char.IsNumber () en C #

146

¿Cuál es la diferencia entre Char.IsDigit()y Char.IsNumber()en C #?

Chico
fuente

Respuestas:

147

Char.IsDigit()es un subconjunto de Char.IsNumber().

Algunos de los caracteres que son 'numéricos' pero no dígitos incluyen 0x00b2 y 0x00b3, que están en superíndice 2 y 3 ('²' y '³') y los glifos que son fracciones como '¼', '½' y '¾ '.

Tenga en cuenta que hay bastantes caracteres que IsDigit()regresantrue que no están en el rango ASCII de 0x30 a 0x39, como estos caracteres de dígitos tailandeses: '๐' '๑' '๒' '๓' '๔' '๕' '๖ '' ๗ '' ๘ '' ๙ '.

Este fragmento de código le indica qué puntos de código difieren:

static private void test()
{
    for (int i = 0; i <= 0xffff; ++i)
    {
        char c = (char) i;

        if (Char.IsDigit( c) != Char.IsNumber( c)) {
            Console.WriteLine( "Char value {0:x} IsDigit() = {1}, IsNumber() = {2}", i, Char.IsDigit( c), Char.IsNumber( c));
        }
    }
}
Michael Burr
fuente
55
Entonces, ¿cómo puedo determinar si existe un carácter 0123456789?
Shimmy Weitzhandler
1
@Shimmy intenta analizarlo en un int
Amistoso
18
@shimmy if ("0123456789". Contiene (c))
Gerard
1
¿No quieres decir en Char.IsNumber()lugar de Char.IsNumericen la primera línea?
osvein
55
@BradleyUffner, los nuevos programadores pueden quedarse atrapados tratando de usar comillas dobles en lugar de comillas simples para los literales de caracteres. Aquí está el código por si alguien lo quiere: character >= '0' && character <= '9'.
Sam
67

Encontré la respuesta:

Char.IsNumber () determina si un Char es de alguna categoría numérica de Unicode. Esto contrasta con IsDigit, que determina si un Char es un dígito radix-10.

Los números válidos son miembros de las siguientes categorías en UnicodeCategory :

  1. DecimalDigitNumber
    Carácter de dígito decimal, es decir, un carácter en el rango de 0 a 9. Significado por la designación Unicode "Nd" (número, dígito decimal). El valor es 8.
  2. LetterNumber
    Número representado por una letra, en lugar de un dígito decimal, por ejemplo, el número romano para cinco, que es "V". El indicador está representado por la designación Unicode "Nl" (número, letra). El valor es 9.
  3. OtherNumber
    Número que no es un dígito decimal ni un número de letra, por ejemplo, la fracción ½. El indicador está representado por la designación Unicode "No" (número, otro). El valor es 10.

Conclusión

  • Char.IsDigit: Los
    dígitos válidos son miembros de la DecimalDigitNumbercategoría solamente.
  • Char.IsNumber:
    Los números válidos son miembros de la DecimalDigitNumber, LetterNumbero OtherNumbercategoría.
Chico
fuente
33

IsNumber(x) a veces regresará true para obtener resultados que la persona promedio no consideraría un número y aquí está la razón.

C # agrupa caracteres en UnicodeCategory donde los números caen no en una sola, sino en 3 categorías diferentes:

  1. UnicodeCategory.DecimalDigitNumber

Carácter de dígito decimal, es decir, un carácter en el rango de 0 a 9. Significado por la designación Unicode "Nd" (número, dígito decimal). El valor es 8.

  1. UnicodeCategory.OtherNumber

Número que no es un dígito decimal ni un número de letra, por ejemplo, la fracción 1/2. El indicador está representado por la designación Unicode "No" (número, otro). El valor es 10.

  1. UnicodeCategory.LetterNumber

Número representado por una letra, en lugar de un dígito decimal, por ejemplo, el número romano para cinco, que es "V". El indicador está representado por la designación Unicode "Nl" (número, letra). El valor es 9.

Todo lo que se encuentre en uno de los anteriores volverá truepor IsNumber(). Porque es IsDigit()solo será UnicodeCategory.DecimalDigitNumber.

Escribí este bit de código para indicar cuál es cuál: (La tabla no está llena debido al tamaño de publicación permitido, pero debería poder generarla y de todos modos solo tiene fines de ejemplo)

    [Test]
    public void IsNumberTest()
    {
        var numberLikes = new[] { UnicodeCategory.DecimalDigitNumber, UnicodeCategory.OtherNumber, UnicodeCategory.LetterNumber };
        for (var i = 0; i < 0xffff; i++)
        {
            var c = Char.ConvertFromUtf32(i).ToCharArray()[0];
            if (numberLikes.Contains(Char.GetUnicodeCategory(c)))
            {
                File.AppendAllText("IsNumberLike.txt", string.Format("{0},{1},{2},&#{3};,{4},{5}\n", i, c, Char.GetUnicodeCategory(c), i, Char.IsNumber(c), Char.IsDigit(c)));
            }
        }
    }

El resultado se ve a continuación: Como puede ver, hay cosas que uno no esperaría que fueran 'números'.

+------+----+--------------------+----------+------+-------+
| int |symbol| UnicodeCategory   | Html   |IsNumber|IsDigit|
+-------+---+--------------------+----------+------+-------+
|    48 | 0 | DecimalDigitNumber | &#48;    | True | True  |
|    49 | 1 | DecimalDigitNumber | &#49;    | True | True  |
|    50 | 2 | DecimalDigitNumber | &#50;    | True | True  |
|    51 | 3 | DecimalDigitNumber | &#51;    | True | True  |
|    52 | 4 | DecimalDigitNumber | &#52;    | True | True  |
|    53 | 5 | DecimalDigitNumber | &#53;    | True | True  |
|    54 | 6 | DecimalDigitNumber | &#54;    | True | True  |
|    55 | 7 | DecimalDigitNumber | &#55;    | True | True  |
|    56 | 8 | DecimalDigitNumber | &#56;    | True | True  |
|    57 | 9 | DecimalDigitNumber | &#57;    | True | True  |
|   178 | ² | OtherNumber        | &#178;   | True | False |
|   179 | ³ | OtherNumber        | &#179;   | True | False |
|   185 | ¹ | OtherNumber        | &#185;   | True | False |
|   188 | ¼ | OtherNumber        | &#188;   | True | False |
|   189 | ½ | OtherNumber        | &#189;   | True | False |
|   190 | ¾ | OtherNumber        | &#190;   | True | False |
|  1632 | ٠ | DecimalDigitNumber | &#1632;  | True | True  |
|  1633 | ١ | DecimalDigitNumber | &#1633;  | True | True  |
|  1634 | ٢ | DecimalDigitNumber | &#1634;  | True | True  |
|  1635 | ٣ | DecimalDigitNumber | &#1635;  | True | True  |
|  1636 | ٤ | DecimalDigitNumber | &#1636;  | True | True  |
|  1637 | ٥ | DecimalDigitNumber | &#1637;  | True | True  |
|  1638 | ٦ | DecimalDigitNumber | &#1638;  | True | True  |
|  1639 | ٧ | DecimalDigitNumber | &#1639;  | True | True  |
|  1640 | ٨ | DecimalDigitNumber | &#1640;  | True | True  |
|  1641 | ٩ | DecimalDigitNumber | &#1641;  | True | True  |
|  1776 | ۰ | DecimalDigitNumber | &#1776;  | True | True  |
|  1777 | ۱ | DecimalDigitNumber | &#1777;  | True | True  |
|  1778 | ۲ | DecimalDigitNumber | &#1778;  | True | True  |
|  1779 | ۳ | DecimalDigitNumber | &#1779;  | True | True  |
|  1780 | ۴ | DecimalDigitNumber | &#1780;  | True | True  |
|  1781 | ۵ | DecimalDigitNumber | &#1781;  | True | True  |
|  1782 | ۶ | DecimalDigitNumber | &#1782;  | True | True  |
|  1783 | ۷ | DecimalDigitNumber | &#1783;  | True | True  |
|  1784 | ۸ | DecimalDigitNumber | &#1784;  | True | True  |
|  1785 | ۹ | DecimalDigitNumber | &#1785;  | True | True  |
|  1984 | ߀ | DecimalDigitNumber | &#1984;  | True | True  |
|  1985 | ߁ | DecimalDigitNumber | &#1985;  | True | True  |
|  1986 | ߂ | DecimalDigitNumber | &#1986;  | True | True  |
|  1987 | ߃ | DecimalDigitNumber | &#1987;  | True | True  |
|  1988 | ߄ | DecimalDigitNumber | &#1988;  | True | True  |
|  1989 | ߅ | DecimalDigitNumber | &#1989;  | True | True  |
|  1990 | ߆ | DecimalDigitNumber | &#1990;  | True | True  |
|  1991 | ߇ | DecimalDigitNumber | &#1991;  | True | True  |
|  1992 | ߈ | DecimalDigitNumber | &#1992;  | True | True  |
|  1993 | ߉ | DecimalDigitNumber | &#1993;  | True | True  |
|  2406 |  | DecimalDigitNumber | &#2406;  | True | True  |
|  2407 |  | DecimalDigitNumber | &#2407;  | True | True  |
|  2408 |  | DecimalDigitNumber | &#2408;  | True | True  |
|  2409 |  | DecimalDigitNumber | &#2409;  | True | True  |
|  2410 |  | DecimalDigitNumber | &#2410;  | True | True  |
|  2411 |  | DecimalDigitNumber | &#2411;  | True | True  |
|  2412 |  | DecimalDigitNumber | &#2412;  | True | True  |
|  2413 |  | DecimalDigitNumber | &#2413;  | True | True  |
|  2414 |  | DecimalDigitNumber | &#2414;  | True | True  |
|  2415 |  | DecimalDigitNumber | &#2415;  | True | True  |
|  2534 |  | DecimalDigitNumber | &#2534;  | True | True  |
|  2535 |  | DecimalDigitNumber | &#2535;  | True | True  |
|  2536 |  | DecimalDigitNumber | &#2536;  | True | True  |
|  2537 |  | DecimalDigitNumber | &#2537;  | True | True  |
|  2538 |  | DecimalDigitNumber | &#2538;  | True | True  |
|  2539 |  | DecimalDigitNumber | &#2539;  | True | True  |
|  2540 |  | DecimalDigitNumber | &#2540;  | True | True  |
|  2541 |  | DecimalDigitNumber | &#2541;  | True | True  |
|  2542 |  | DecimalDigitNumber | &#2542;  | True | True  |
|  2543 |  | DecimalDigitNumber | &#2543;  | True | True  |
|  2548 |  | OtherNumber        | &#2548;  | True | False |
|  2549 |  | OtherNumber        | &#2549;  | True | False |
|  2550 |  | OtherNumber        | &#2550;  | True | False |
|  2551 |  | OtherNumber        | &#2551;  | True | False |
|  2552 |  | OtherNumber        | &#2552;  | True | False |
|  2553 |  | OtherNumber        | &#2553;  | True | False |
|  2662 |  | DecimalDigitNumber | &#2662;  | True | True  |
|  2663 |  | DecimalDigitNumber | &#2663;  | True | True  |
|  2664 |  | DecimalDigitNumber | &#2664;  | True | True  |
|  2665 |  | DecimalDigitNumber | &#2665;  | True | True  |
|  2666 |  | DecimalDigitNumber | &#2666;  | True | True  |
|  2667 |  | DecimalDigitNumber | &#2667;  | True | True  |
|  2668 |  | DecimalDigitNumber | &#2668;  | True | True  |
|  2669 |  | DecimalDigitNumber | &#2669;  | True | True  |
|  2670 |  | DecimalDigitNumber | &#2670;  | True | True  |
|  2671 |  | DecimalDigitNumber | &#2671;  | True | True  |
|  2790 |  | DecimalDigitNumber | &#2790;  | True | True  |
|  2791 |  | DecimalDigitNumber | &#2791;  | True | True  |
|  2792 |  | DecimalDigitNumber | &#2792;  | True | True  |
|  2793 |  | DecimalDigitNumber | &#2793;  | True | True  |
|  2794 |  | DecimalDigitNumber | &#2794;  | True | True  |
|  2795 |  | DecimalDigitNumber | &#2795;  | True | True  |
|  2796 |  | DecimalDigitNumber | &#2796;  | True | True  |
|  2797 |  | DecimalDigitNumber | &#2797;  | True | True  |
|  2798 |  | DecimalDigitNumber | &#2798;  | True | True  |
|  2799 |  | DecimalDigitNumber | &#2799;  | True | True  |
|  2918 |  | DecimalDigitNumber | &#2918;  | True | True  |
|  2919 |  | DecimalDigitNumber | &#2919;  | True | True  |
|  2920 |  | DecimalDigitNumber | &#2920;  | True | True  |
|  2921 |  | DecimalDigitNumber | &#2921;  | True | True  |
|  2922 |  | DecimalDigitNumber | &#2922;  | True | True  |
|  2923 |  | DecimalDigitNumber | &#2923;  | True | True  |
|  2924 |  | DecimalDigitNumber | &#2924;  | True | True  |
|  2925 |  | DecimalDigitNumber | &#2925;  | True | True  |
|  2926 |  | DecimalDigitNumber | &#2926;  | True | True  |
|  2927 |  | DecimalDigitNumber | &#2927;  | True | True  |
|  2930 |  | OtherNumber        | &#2930;  | True | False |
|  2931 |  | OtherNumber        | &#2931;  | True | False |
|  2932 |  | OtherNumber        | &#2932;  | True | False |
|  2933 |  | OtherNumber        | &#2933;  | True | False |
|  2934 |  | OtherNumber        | &#2934;  | True | False |
|  2935 |  | OtherNumber        | &#2935;  | True | False |
|  3046 |  | DecimalDigitNumber | &#3046;  | True | True  |
|  3047 |  | DecimalDigitNumber | &#3047;  | True | True  |
|  3048 |  | DecimalDigitNumber | &#3048;  | True | True  |
|  3049 |  | DecimalDigitNumber | &#3049;  | True | True  |
|  3050 |  | DecimalDigitNumber | &#3050;  | True | True  |
|  3051 |  | DecimalDigitNumber | &#3051;  | True | True  |
|  3052 |  | DecimalDigitNumber | &#3052;  | True | True  |
|  3053 |  | DecimalDigitNumber | &#3053;  | True | True  |
|  3054 |  | DecimalDigitNumber | &#3054;  | True | True  |
|  3055 |  | DecimalDigitNumber | &#3055;  | True | True  |
|  3056 |  | OtherNumber        | &#3056;  | True | False |
|  3057 |  | OtherNumber        | &#3057;  | True | False |
|  3058 |  | OtherNumber        | &#3058;  | True | False |
|  3174 |  | DecimalDigitNumber | &#3174;  | True | True  |
|  3175 |  | DecimalDigitNumber | &#3175;  | True | True  |
|  3176 |  | DecimalDigitNumber | &#3176;  | True | True  |
|  3177 |  | DecimalDigitNumber | &#3177;  | True | True  |
|  3178 |  | DecimalDigitNumber | &#3178;  | True | True  |
|  3179 |  | DecimalDigitNumber | &#3179;  | True | True  |
|  3180 |  | DecimalDigitNumber | &#3180;  | True | True  |
|  3181 |  | DecimalDigitNumber | &#3181;  | True | True  |
|  3182 |  | DecimalDigitNumber | &#3182;  | True | True  |
|  3183 |  | DecimalDigitNumber | &#3183;  | True | True  |
|  3192 |  | OtherNumber        | &#3192;  | True | False |
|  3193 |  | OtherNumber        | &#3193;  | True | False |
|  3194 |  | OtherNumber        | &#3194;  | True | False |
|  3195 |  | OtherNumber        | &#3195;  | True | False |
|  3196 |  | OtherNumber        | &#3196;  | True | False |
|  3197 |  | OtherNumber        | &#3197;  | True | False |
|  3198 |  | OtherNumber        | &#3198;  | True | False |
|  3302 |  | DecimalDigitNumber | &#3302;  | True | True  |
|  3303 |  | DecimalDigitNumber | &#3303;  | True | True  |
|  3304 |  | DecimalDigitNumber | &#3304;  | True | True  |
|  3305 |  | DecimalDigitNumber | &#3305;  | True | True  |
|  3306 |  | DecimalDigitNumber | &#3306;  | True | True  |
|  3307 |  | DecimalDigitNumber | &#3307;  | True | True  |
|  3308 |  | DecimalDigitNumber | &#3308;  | True | True  |
|  3309 |  | DecimalDigitNumber | &#3309;  | True | True  |
|  3310 |  | DecimalDigitNumber | &#3310;  | True | True  |
|  3311 |  | DecimalDigitNumber | &#3311;  | True | True  |
|  3430 |  | DecimalDigitNumber | &#3430;  | True | True  |
|  3431 |  | DecimalDigitNumber | &#3431;  | True | True  |
|  3432 |  | DecimalDigitNumber | &#3432;  | True | True  |
|  3433 |  | DecimalDigitNumber | &#3433;  | True | True  |
|  3434 |  | DecimalDigitNumber | &#3434;  | True | True  |
|  3435 |  | DecimalDigitNumber | &#3435;  | True | True  |
|  3436 |  | DecimalDigitNumber | &#3436;  | True | True  |
|  3437 |  | DecimalDigitNumber | &#3437;  | True | True  |
|  3438 |  | DecimalDigitNumber | &#3438;  | True | True  |
|  3439 |  | DecimalDigitNumber | &#3439;  | True | True  |
|  3440 |  | OtherNumber        | &#3440;  | True | False |
|  3441 |  | OtherNumber        | &#3441;  | True | False |
|  3442 |  | OtherNumber        | &#3442;  | True | False |
|  3443 |  | OtherNumber        | &#3443;  | True | False |
|  3444 |  | OtherNumber        | &#3444;  | True | False |
|  3445 |  | OtherNumber        | &#3445;  | True | False |
|  3664 |  | DecimalDigitNumber | &#3664;  | True | True  |
|  3665 |  | DecimalDigitNumber | &#3665;  | True | True  |
|  3666 |  | DecimalDigitNumber | &#3666;  | True | True  |
|  3667 |  | DecimalDigitNumber | &#3667;  | True | True  |
|  3668 |  | DecimalDigitNumber | &#3668;  | True | True  |
|  3669 |  | DecimalDigitNumber | &#3669;  | True | True  |
|  3670 |  | DecimalDigitNumber | &#3670;  | True | True  |
|  3671 |  | DecimalDigitNumber | &#3671;  | True | True  |
|  3672 |  | DecimalDigitNumber | &#3672;  | True | True  |
|  3673 |  | DecimalDigitNumber | &#3673;  | True | True  |
|  3792 |  | DecimalDigitNumber | &#3792;  | True | True  |
|  3793 |  | DecimalDigitNumber | &#3793;  | True | True  |
|  3794 |  | DecimalDigitNumber | &#3794;  | True | True  |
|  3795 |  | DecimalDigitNumber | &#3795;  | True | True  |
|  3796 |  | DecimalDigitNumber | &#3796;  | True | True  |
|  3797 |  | DecimalDigitNumber | &#3797;  | True | True  |
|  3798 |  | DecimalDigitNumber | &#3798;  | True | True  |
|  3799 |  | DecimalDigitNumber | &#3799;  | True | True  |
|  3800 |  | DecimalDigitNumber | &#3800;  | True | True  |
|  3801 |  | DecimalDigitNumber | &#3801;  | True | True  |
|  3872 |  | DecimalDigitNumber | &#3872;  | True | True  |
|  3873 |  | DecimalDigitNumber | &#3873;  | True | True  |
|  3874 |  | DecimalDigitNumber | &#3874;  | True | True  |
|  3875 |  | DecimalDigitNumber | &#3875;  | True | True  |
|  3876 |  | DecimalDigitNumber | &#3876;  | True | True  |
|  3877 |  | DecimalDigitNumber | &#3877;  | True | True  |
|  3878 |  | DecimalDigitNumber | &#3878;  | True | True  |
|  3879 |  | DecimalDigitNumber | &#3879;  | True | True  |
|  3880 |  | DecimalDigitNumber | &#3880;  | True | True  |
|  3881 |  | DecimalDigitNumber | &#3881;  | True | True  |
|  3882 |  | OtherNumber        | &#3882;  | True | False |
|  3883 |  | OtherNumber        | &#3883;  | True | False |
|  3884 |  | OtherNumber        | &#3884;  | True | False |
|  3885 |  | OtherNumber        | &#3885;  | True | False |
|  3886 |  | OtherNumber        | &#3886;  | True | False |
|  3887 |  | OtherNumber        | &#3887;  | True | False |
|  3888 |  | OtherNumber        | &#3888;  | True | False |
|  3889 |  | OtherNumber        | &#3889;  | True | False |
|  3890 |  | OtherNumber        | &#3890;  | True | False |
|  3891 |  | OtherNumber        | &#3891;  | True | False |
|  4160 |  | DecimalDigitNumber | &#4160;  | True | True  |
|  4161 |  | DecimalDigitNumber | &#4161;  | True | True  |
|  4162 |  | DecimalDigitNumber | &#4162;  | True | True  |
|  4163 |  | DecimalDigitNumber | &#4163;  | True | True  |
|  4164 |  | DecimalDigitNumber | &#4164;  | True | True  |
|  4165 |  | DecimalDigitNumber | &#4165;  | True | True  |
|  4166 |  | DecimalDigitNumber | &#4166;  | True | True  |
|  4167 |  | DecimalDigitNumber | &#4167;  | True | True  |
|  4168 |  | DecimalDigitNumber | &#4168;  | True | True  |
|  4169 |  | DecimalDigitNumber | &#4169;  | True | True  |
|  4240 |  | DecimalDigitNumber | &#4240;  | True | True  |
|  4241 |  | DecimalDigitNumber | &#4241;  | True | True  |
|  4242 |  | DecimalDigitNumber | &#4242;  | True | True  |
|  4243 |  | DecimalDigitNumber | &#4243;  | True | True  |
|  4244 |  | DecimalDigitNumber | &#4244;  | True | True  |
|  4245 |  | DecimalDigitNumber | &#4245;  | True | True  |
|  4246 |  | DecimalDigitNumber | &#4246;  | True | True  |
|  4247 |  | DecimalDigitNumber | &#4247;  | True | True  |
|  4248 |  | DecimalDigitNumber | &#4248;  | True | True  |
|  4249 |  | DecimalDigitNumber | &#4249;  | True | True  |
|  4969 |  | OtherNumber        | &#4969;  | True | False |
|  4970 |  | OtherNumber        | &#4970;  | True | False |
|  4971 |  | OtherNumber        | &#4971;  | True | False |
|  4972 |  | OtherNumber        | &#4972;  | True | False |
|  4973 |  | OtherNumber        | &#4973;  | True | False |
|  4974 |  | OtherNumber        | &#4974;  | True | False |
|  4975 |  | OtherNumber        | &#4975;  | True | False |
|  4976 |  | OtherNumber        | &#4976;  | True | False |
|  4977 |  | OtherNumber        | &#4977;  | True | False |
|  4978 |  | OtherNumber        | &#4978;  | True | False |
|  4979 |  | OtherNumber        | &#4979;  | True | False |
|  4980 |  | OtherNumber        | &#4980;  | True | False |
|  4981 |  | OtherNumber        | &#4981;  | True | False |
|  4982 |  | OtherNumber        | &#4982;  | True | False |
|  4983 |  | OtherNumber        | &#4983;  | True | False |
|  4984 |  | OtherNumber        | &#4984;  | True | False |
|  4985 |  | OtherNumber        | &#4985;  | True | False |
|  4986 |  | OtherNumber        | &#4986;  | True | False |
|  4987 |  | OtherNumber        | &#4987;  | True | False |
|  4988 |  | OtherNumber        | &#4988;  | True | False |
|  5870 |  | LetterNumber       | &#5870;  | True | False |
|  5871 |  | LetterNumber       | &#5871;  | True | False |
|  5872 |  | LetterNumber       | &#5872;  | True | False |
|  6112 |  | DecimalDigitNumber | &#6112;  | True | True  |
|  6113 |  | DecimalDigitNumber | &#6113;  | True | True  |
|  6114 |  | DecimalDigitNumber | &#6114;  | True | True  |
|  6115 |  | DecimalDigitNumber | &#6115;  | True | True  |
|  6116 |  | DecimalDigitNumber | &#6116;  | True | True  |
|  6117 |  | DecimalDigitNumber | &#6117;  | True | True  |
|  6118 |  | DecimalDigitNumber | &#6118;  | True | True  |
|  6119 |  | DecimalDigitNumber | &#6119;  | True | True  |
|  6120 |  | DecimalDigitNumber | &#6120;  | True | True  |
|  6121 |  | DecimalDigitNumber | &#6121;  | True | True  |
|  6128 |  | OtherNumber        | &#6128;  | True | False |
|  6129 |  | OtherNumber        | &#6129;  | True | False |
|  6130 |  | OtherNumber        | &#6130;  | True | False |
|  6131 |  | OtherNumber        | &#6131;  | True | False |
|  6132 |  | OtherNumber        | &#6132;  | True | False |
|  6133 |  | OtherNumber        | &#6133;  | True | False |
|  6134 |  | OtherNumber        | &#6134;  | True | False |
|  6135 |  | OtherNumber        | &#6135;  | True | False |
|  6136 |  | OtherNumber        | &#6136;  | True | False |
|  6137 |  | OtherNumber        | &#6137;  | True | False |
|  6160 |  | DecimalDigitNumber | &#6160;  | True | True  |
|  6161 |  | DecimalDigitNumber | &#6161;  | True | True  |
|  6162 |  | DecimalDigitNumber | &#6162;  | True | True  |
|  6163 |  | DecimalDigitNumber | &#6163;  | True | True  |
|  6164 |  | DecimalDigitNumber | &#6164;  | True | True  |
|  6165 |  | DecimalDigitNumber | &#6165;  | True | True  |
|  6166 |  | DecimalDigitNumber | &#6166;  | True | True  |
|  6167 |  | DecimalDigitNumber | &#6167;  | True | True  |
|  6168 |  | DecimalDigitNumber | &#6168;  | True | True  |
|  6169 |  | DecimalDigitNumber | &#6169;  | True | True  |
|  6470 |  | DecimalDigitNumber | &#6470;  | True | True  |
|  6471 |  | DecimalDigitNumber | &#6471;  | True | True  |
|  6472 |  | DecimalDigitNumber | &#6472;  | True | True  |
|  6473 |  | DecimalDigitNumber | &#6473;  | True | True  |
|  6474 |  | DecimalDigitNumber | &#6474;  | True | True  |
|  6475 |  | DecimalDigitNumber | &#6475;  | True | True  |
|  6476 |  | DecimalDigitNumber | &#6476;  | True | True  |
|  6477 |  | DecimalDigitNumber | &#6477;  | True | True  |
|  6478 |  | DecimalDigitNumber | &#6478;  | True | True  |
|  6479 |  | DecimalDigitNumber | &#6479;  | True | True  |
|  6608 |  | DecimalDigitNumber | &#6608;  | True | True  |
|  6609 |  | DecimalDigitNumber | &#6609;  | True | True  |
|  6610 |  | DecimalDigitNumber | &#6610;  | True | True  |
|  6611 |  | DecimalDigitNumber | &#6611;  | True | True  |
|  6612 |  | DecimalDigitNumber | &#6612;  | True | True  |
|  6613 |  | DecimalDigitNumber | &#6613;  | True | True  |
|  6614 |  | DecimalDigitNumber | &#6614;  | True | True  |
|  6615 |  | DecimalDigitNumber | &#6615;  | True | True  |
|  6616 |  | DecimalDigitNumber | &#6616;  | True | True  |
|  6617 |  | DecimalDigitNumber | &#6617;  | True | True  |
|  6618 |  | OtherNumber        | &#6618;  | True | False |
|  6784 |  | DecimalDigitNumber | &#6784;  | True | True  |
|  6785 |  | DecimalDigitNumber | &#6785;  | True | True  |
|  6786 |  | DecimalDigitNumber | &#6786;  | True | True  |
|  6787 |  | DecimalDigitNumber | &#6787;  | True | True  |
|  6788 |  | DecimalDigitNumber | &#6788;  | True | True  |
|  6789 |  | DecimalDigitNumber | &#6789;  | True | True  |
|  6790 |  | DecimalDigitNumber | &#6790;  | True | True  |
|  6791 |  | DecimalDigitNumber | &#6791;  | True | True  |
|  6792 |  | DecimalDigitNumber | &#6792;  | True | True  |
|  6793 |  | DecimalDigitNumber | &#6793;  | True | True  |
|  6800 |  | DecimalDigitNumber | &#6800;  | True | True  |
|  6801 |  | DecimalDigitNumber | &#6801;  | True | True  |
|  6802 |  | DecimalDigitNumber | &#6802;  | True | True  |
|  6803 |  | DecimalDigitNumber | &#6803;  | True | True  |
|  6804 |  | DecimalDigitNumber | &#6804;  | True | True  |
|  6805 |  | DecimalDigitNumber | &#6805;  | True | True  |
|  6806 |  | DecimalDigitNumber | &#6806;  | True | True  |
|  6807 |  | DecimalDigitNumber | &#6807;  | True | True  |
|  6808 |  | DecimalDigitNumber | &#6808;  | True | True  |
|  6809 |  | DecimalDigitNumber | &#6809;  | True | True  |
|  6992 |  | DecimalDigitNumber | &#6992;  | True | True  |
|  6993 |  | DecimalDigitNumber | &#6993;  | True | True  |
|  6994 |  | DecimalDigitNumber | &#6994;  | True | True  |
|  6995 |  | DecimalDigitNumber | &#6995;  | True | True  |
|  6996 |  | DecimalDigitNumber | &#6996;  | True | True  |
|  6997 |  | DecimalDigitNumber | &#6997;  | True | True  |
|  6998 |  | DecimalDigitNumber | &#6998;  | True | True  |
|  6999 |  | DecimalDigitNumber | &#6999;  | True | True  |
|  7000 |  | DecimalDigitNumber | &#7000;  | True | True  |
|  7001 |  | DecimalDigitNumber | &#7001;  | True | True  |
|  7088 |  | DecimalDigitNumber | &#7088;  | True | True  |
|  7089 |  | DecimalDigitNumber | &#7089;  | True | True  |
|  7090 |  | DecimalDigitNumber | &#7090;  | True | True  |
|  7091 |  | DecimalDigitNumber | &#7091;  | True | True  |
|  7092 |  | DecimalDigitNumber | &#7092;  | True | True  |
|  7093 |  | DecimalDigitNumber | &#7093;  | True | True  |
|  7094 |  | DecimalDigitNumber | &#7094;  | True | True  |
|  7095 |  | DecimalDigitNumber | &#7095;  | True | True  |
|  7096 |  | DecimalDigitNumber | &#7096;  | True | True  |
|  7097 |  | DecimalDigitNumber | &#7097;  | True | True  |
|  7232 |  | DecimalDigitNumber | &#7232;  | True | True  |
|  7233 |  | DecimalDigitNumber | &#7233;  | True | True  |
|  7234 |  | DecimalDigitNumber | &#7234;  | True | True  |
|  7235 |  | DecimalDigitNumber | &#7235;  | True | True  |
|  7236 |  | DecimalDigitNumber | &#7236;  | True | True  |
|  7237 |  | DecimalDigitNumber | &#7237;  | True | True  |
|  7238 |  | DecimalDigitNumber | &#7238;  | True | True  |
|  7239 |  | DecimalDigitNumber | &#7239;  | True | True  |
|  8304 |  | OtherNumber        | &#8304;  | True | False |
|  8308 |  | OtherNumber        | &#8308;  | True | False |
|  8309 |  | OtherNumber        | &#8309;  | True | False |
|  8310 |  | OtherNumber        | &#8310;  | True | False |
|  8311 |  | OtherNumber        | &#8311;  | True | False |
|  8312 |  | OtherNumber        | &#8312;  | True | False |
|  8313 |  | OtherNumber        | &#8313;  | True | False |
|  8320 |  | OtherNumber        | &#8320;  | True | False |
|  8321 |  | OtherNumber        | &#8321;  | True | False |
|  8322 |  | OtherNumber        | &#8322;  | True | False |
|  8323 |  | OtherNumber        | &#8323;  | True | False |
|  8324 |  | OtherNumber        | &#8324;  | True | False |
|  8325 |  | OtherNumber        | &#8325;  | True | False |
|  8326 |  | OtherNumber        | &#8326;  | True | False |
|  8327 |  | OtherNumber        | &#8327;  | True | False |
|  8328 |  | OtherNumber        | &#8328;  | True | False |
|  8329 |  | OtherNumber        | &#8329;  | True | False |
|  8528 |  | OtherNumber        | &#8528;  | True | False |
|  8529 |  | OtherNumber        | &#8529;  | True | False |
|  8530 |  | OtherNumber        | &#8530;  | True | False |
|  8531 |  | OtherNumber        | &#8531;  | True | False |
|  8532 |  | OtherNumber        | &#8532;  | True | False |
|  8533 |  | OtherNumber        | &#8533;  | True | False |
|  8534 |  | OtherNumber        | &#8534;  | True | False |
|  8535 |  | OtherNumber        | &#8535;  | True | False |
|  8536 |  | OtherNumber        | &#8536;  | True | False |
|  8537 |  | OtherNumber        | &#8537;  | True | False |
|  8538 |  | OtherNumber        | &#8538;  | True | False |
|  8539 |  | OtherNumber        | &#8539;  | True | False |
|  8540 |  | OtherNumber        | &#8540;  | True | False |
|  8541 |  | OtherNumber        | &#8541;  | True | False |
|  8542 |  | OtherNumber        | &#8542;  | True | False |
|  8543 |  | OtherNumber        | &#8543;  | True | False |
|  8544 |  | LetterNumber       | &#8544;  | True | False |
|  8545 |  | LetterNumber       | &#8545;  | True | False |
|  8546 |  | LetterNumber       | &#8546;  | True | False |
|  8547 |  | LetterNumber       | &#8547;  | True | False |
|  8548 |  | LetterNumber       | &#8548;  | True | False |
|  8549 |  | LetterNumber       | &#8549;  | True | False |
|  8550 |  | LetterNumber       | &#8550;  | True | False |
|  8551 |  | LetterNumber       | &#8551;  | True | False |
|  8552 |  | LetterNumber       | &#8552;  | True | False |
|  8553 |  | LetterNumber       | &#8553;  | True | False |
|  8554 |  | LetterNumber       | &#8554;  | True | False |
|  8555 |  | LetterNumber       | &#8555;  | True | False |
|  8556 |  | LetterNumber       | &#8556;  | True | False |
|  8557 |  | LetterNumber       | &#8557;  | True | False |
|  8558 |  | LetterNumber       | &#8558;  | True | False |
|  8559 |  | LetterNumber       | &#8559;  | True | False |
|  8560 |  | LetterNumber       | &#8560;  | True | False |
|  8561 |  | LetterNumber       | &#8561;  | True | False |
|  8562 |  | LetterNumber       | &#8562;  | True | False |
|  8563 |  | LetterNumber       | &#8563;  | True | False |
|  8564 |  | LetterNumber       | &#8564;  | True | False |
|  8565 |  | LetterNumber       | &#8565;  | True | False |
|  8566 |  | LetterNumber       | &#8566;  | True | False |
|  8567 |  | LetterNumber       | &#8567;  | True | False |
|  8568 |  | LetterNumber       | &#8568;  | True | False |
|  8569 |  | LetterNumber       | &#8569;  | True | False |
|  8570 |  | LetterNumber       | &#8570;  | True | False |
|  8571 |  | LetterNumber       | &#8571;  | True | False |
|  8572 |  | LetterNumber       | &#8572;  | True | False |
|  8573 |  | LetterNumber       | &#8573;  | True | False |
|  8574 |  | LetterNumber       | &#8574;  | True | False |
|  8575 |  | LetterNumber       | &#8575;  | True | False |
|  8576 |  | LetterNumber       | &#8576;  | True | False |
|  8577 |  | LetterNumber       | &#8577;  | True | False |
|  8578 |  | LetterNumber       | &#8578;  | True | False |
|  8581 |  | LetterNumber       | &#8581;  | True | False |
+-------+---+--------------------+----------+------+-------+
Matas Vaitkevicius
fuente
1
Realmente respuesta completa!
GntS