Literals/Integer: Difference between revisions

Content added Content deleted
(add bqn)
(Added Fennel.)
Line 891: Line 891:
1234567
1234567
</pre>
</pre>

=={{header|Fennel}}==
<lang fennel>;; Fennel, like Lua, supports base 10 and hex literals (with a leading 0x).
1234 ;1234
0x1234 ;4660

;; Optionally, underscores can be used to split numbers into readable chunks.
123_456_789 ;123456789
0x1234_5678 ;305419896</lang>


=={{header|Forth}}==
=={{header|Forth}}==