jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/java/number_feature.test
2016-02-03 18:00:01 -05:00

27 lines
444 B
Plaintext

0b11110000
0xBadFace
0x1.8p1
0xa.fp-2
42
42d
1.2e3f
0.1E-4f
0.2e+1f
----------------------------------------------------
[
["number", "0b11110000"],
["number", "0xBadFace"],
["number", "0x1.8p1"],
["number", "0xa.fp-2"],
["number", "42"],
["number", "42d"],
["number", "1.2e3f"],
["number", "0.1E-4f"],
["number", "0.2e+1f"]
]
----------------------------------------------------
Checks for binary, hexadecimal and decimal numbers.