Update lua.html.markdown

This commit is contained in:
Sainan 2023-07-19 00:04:26 +01:00 committed by GitHub
parent a597f00242
commit 1cfd2d6c0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,10 +17,7 @@ filename: learnlua.lua
-- 1. Variables and flow control. -- 1. Variables and flow control.
---------------------------------------------------- ----------------------------------------------------
num = 42 -- All numbers are doubles. num = 42 -- Numbers can be integer or floating point.
-- 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.
s = 'walternate' -- Immutable strings like Python. s = 'walternate' -- Immutable strings like Python.
t = "double-quotes are also fine" t = "double-quotes are also fine"