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

23 lines
363 B
Plaintext
Raw Normal View History

2016-02-03 16:00:01 -07:00
42
3.14159
2E3
1.2e-4
0.9e+1
0o47
0xBadFace
----------------------------------------------------
[
["number", "42"],
["number", "3.14159"],
["number", "2E3"],
["number", "1.2e-4"],
["number", "0.9e+1"],
["number", "0o47"],
["number", "0xBadFace"]
]
----------------------------------------------------
Checks for decimal, octal and hexadecimal numbers.