43 lines
771 B
Plaintext
Raw Normal View History

2018-12-19 14:09:39 +08:00
42
0600
0xBadFace
170141183460469231731687303715884105727
72.40
072.40
2.71828
1.e+0
6.67428e-11
1E6
0i
011i
0.i
2.71828i
1.e+0i
6.67428e-11i
1E6i
----------------------------------------------------
[
["number", "42"],
["number", "0600"],
["number", "0xBadFace"],
["number", "170141183460469231731687303715884105727"],
["number", "72.40"],
["number", "072.40"],
["number", "2.71828"],
["number", "1.e+0"],
["number", "6.67428e-11"],
["number", "1E6"],
["number", "0i"],
["number", "011i"],
["number", "0.i"],
["number", "2.71828i"],
["number", "1.e+0i"],
["number", "6.67428e-11i"],
["number", "1E6i"]
]
----------------------------------------------------
Checks for integers, floats and imaginary numbers.