summaryrefslogtreecommitdiffhomepage
path: root/lua.html.markdown
diff options
context:
space:
mode:
authorMarcel Ribeiro-Dantas <ribeirodantasdm@gmail.com>2023-09-17 11:02:27 -0300
committerGitHub <noreply@github.com>2023-09-17 11:02:27 -0300
commitec40f8d83941430a125b28f37db42ab9ae7bbc80 (patch)
tree53e9dd3cbbd039e0c16e37d049d4c15225753012 /lua.html.markdown
parent3c997184ea22ca7e6ca204ddb3679462e1822702 (diff)
parent1cfd2d6c0f57720c45e4061abf3cac1c75b026c0 (diff)
Merge pull request #4754 from Sainan/patch-1
[lua/en] Fix incorrect information about numbers
Diffstat (limited to 'lua.html.markdown')
-rw-r--r--lua.html.markdown5
1 files changed, 1 insertions, 4 deletions
diff --git a/lua.html.markdown b/lua.html.markdown
index de71ccd4..166f3749 100644
--- a/lua.html.markdown
+++ b/lua.html.markdown
@@ -17,10 +17,7 @@ filename: learnlua.lua
-- 1. Variables and flow control.
----------------------------------------------------
-num = 42 -- All numbers are doubles.
--- Don't freak out, 64-bit doubles have 52 bits for
--- storing exact int values; machine precision is
--- not a problem for ints that need < 52 bits.
+num = 42 -- Numbers can be integer or floating point.
s = 'walternate' -- Immutable strings like Python.
t = "double-quotes are also fine"