Merge pull request #4754 from Sainan/patch-1

[lua/en] Fix incorrect information about numbers
This commit is contained in:
Marcel Ribeiro-Dantas 2023-09-17 11:02:27 -03:00 committed by GitHub
commit ec40f8d839
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.
----------------------------------------------------
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"