Numbers & Integers
All numbers in Lua use the double-precision floating-point format. Even integers are stored in this format. The math library is the primary number operation library that contains trigonometric, rounding and useful constants. The following is a comprehensive list of all valid ways to define numbers in Lua. You can find the complete implementation of the number tokenization function in the LuaJIT source code.
Garry's Mod
Rust
Steamworks
Wiki Help