Skip to content
Philipp Janda edited this page Mar 16, 2015 · 1 revision

math.type

Lua 5.1 and 5.2 don't have a separate integer type, so the compatibility implementation of math.type returns "integer" for integral floating point values in the range where integral values can be represented exactly.

Clone this wiki locally