We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 529271f commit 29d3662Copy full SHA for 29d3662
doc/reference/reference_lua/other.rst
@@ -6,7 +6,9 @@
6
7
.. function:: tonumber64(value)
8
9
- Convert a string or a Lua number to a 64-bit integer. The result can be
+ Convert a string or a Lua number to a 64-bit integer.
10
+ The input value can be expressed in decimal, binary (for example 0b1010),
11
+ or hexadecimal (for example -0xffff). The result can be
12
used in arithmetic, and the arithmetic will be 64-bit integer arithmetic
13
rather than floating-point arithmetic. (Operations on an unconverted Lua
14
number use floating-point arithmetic.) The ``tonumber64()`` function is
0 commit comments