1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-11 09:14:39 +02:00

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

View File

@@ -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"