Update CrashCourseInLua.rst

gccjit-ravi534
Dibyendu Majumdar 7 years ago committed by GitHub
parent 9447a0bb90
commit 56c9231a2f

@ -214,6 +214,8 @@ Lua has integer and double numeric types
========================================
Since Lua 5.3 Lua's number type has integer and double representations. This is automatically managed; however a library function is provided to tell you what Lua thinks the number type is.
::
x = 1 -- integer
y = 4.2 -- double

Loading…
Cancel
Save