number_feature.test
520 Bytes
0xFF
0xBad_Face
0b1100
0b1111_0000
42
42_000
3.14_15_9
1.2e4
1_423.6E-2
0.8E+12
----------------------------------------------------
[
["number", "0xFF"],
["number", "0xBad_Face"],
["number", "0b1100"],
["number", "0b1111_0000"],
["number", "42"],
["number", "42_000"],
["number", "3.14_15_9"],
["number", "1.2e4"],
["number", "1_423.6E-2"],
["number", "0.8E+12"]
]
----------------------------------------------------
Checks for hexadecimal, binary and decimal numbers.