jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/perl/number_feature.test
2016-02-02 21:12:02 -05:00

33 lines
488 B
Plaintext

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.