25 lines
471 B
Plaintext
Raw Normal View History

2018-12-19 14:09:39 +08:00
42
42_000
3.1415_9
4.2e14
0xBaf_Face
0xFF47.AB_61p2
0b0000_1111
0o147_654
----------------------------------------------------
[
["number", "42"],
["number", "42_000"],
["number", "3.1415_9"],
["number", "4.2e14"],
["number", "0xBaf_Face"],
["number", "0xFF47.AB_61p2"],
["number", "0b0000_1111"],
["number", "0o147_654"]
]
----------------------------------------------------
Checks for decimal, hexadecimal, octal and binary numbers.