local a = 7
local b = 2
print(a + b, a - b, a * b)
-- / always yields a float, // floors, % remainders, ^ powers
print(a / b, a // b, a % b, a ^ b)
-- math.type tells the two apart
print(math.type(3), math.type(3.0))Lua 5.4 has distinct integer and float subtypes