Integer

From GMod Wiki

(Redirected from Int)
Jump to: navigation, search

Integer.png

An integer is a number with no decimal point.

All numbers in lua are floats, but on the wiki whenever we specify integer as a datatype for an argument or something a function returns, we use it to say that the function is expecting a number without a decimal point, or to say a function will not return a number with a decimal point.

Integers are used for indexes in tables and also for enumerations.

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox