number_feature.test 545 Bytes
0xbabe
0xBAD_A55
0c7654_1234
0b1111_0000_0101
42
42.
.42
1_845.123_456
3.14e+4
4_2.5_7e-1_0

----------------------------------------------------

[
	["number", "0xbabe"],
	["number", "0xBAD_A55"],
	["number", "0c7654_1234"],
	["number", "0b1111_0000_0101"],
	["number", "42"],
	["number", "42."],
	["number", ".42"],
	["number", "1_845.123_456"],
	["number", "3.14e+4"],
	["number", "4_2.5_7e-1_0"]
]

----------------------------------------------------

Checks for hexadecimal, octal, binary and decimal numbers.