Skip to content

Commit 29d3662

Browse files
committed
Fixed gh-149 tonumber64() changes
1 parent 529271f commit 29d3662

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/reference/reference_lua/other.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66

77
.. function:: tonumber64(value)
88

9-
Convert a string or a Lua number to a 64-bit integer. The result can be
9+
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
1012
used in arithmetic, and the arithmetic will be 64-bit integer arithmetic
1113
rather than floating-point arithmetic. (Operations on an unconverted Lua
1214
number use floating-point arithmetic.) The ``tonumber64()`` function is

0 commit comments

Comments
 (0)