number
A number is a basic Lua type, it represents real numbers.
local a = 10 local b = 10 local c = a + b print(c) -- prints 20
local a = 10 local b = 1.5 local c = a * b print(c) -- prints 15.0
CubzhScripting Documentation |
A number is a basic Lua type, it represents real numbers.
local a = 10 local b = 10 local c = a + b print(c) -- prints 20
local a = 10 local b = 1.5 local c = a * b print(c) -- prints 15.0