Garry's Mod Wiki

Numbers & Integers

All numbers in Lua use the double-precision floating-point format. Even integers are stored in this format.

Numbers in Garry's Mod are 16 bits wide. This should be taken into account, as it may cause imprecision in very large or very small numbers.