summaryrefslogtreecommitdiffhomepage
path: root/lua.html.markdown
diff options
context:
space:
mode:
authorSainan <sainan@calamity.gg>2023-07-19 00:04:26 +0100
committerGitHub <noreply@github.com>2023-07-19 00:04:26 +0100
commit1cfd2d6c0f57720c45e4061abf3cac1c75b026c0 (patch)
treee334fb1b9f1ad91d98e525a89ef35a5febe23061 /lua.html.markdown
parenta597f002424d2d95c06b62b0c49d6bf152ea7f5b (diff)
Update lua.html.markdown
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"