jellyfin-web/dashboard-ui/bower_components/prism/tests/languages/elixir/number_feature.test

27 lines
465 B
Plaintext
Raw Normal View History

2016-02-03 16:00:01 -07:00
0b1111_0000
0o754_123
0xBadFace
42
42_000
3.14159
2e6
3.241_753E-7
0.7e+15
----------------------------------------------------
[
["number", "0b1111_0000"],
["number", "0o754_123"],
["number", "0xBadFace"],
["number", "42"],
["number", "42_000"],
["number", "3.14159"],
["number", "2e6"],
["number", "3.241_753E-7"],
["number", "0.7e+15"]
]
----------------------------------------------------
Checks for binary, octal, hexadecimal and decimal numbers.