Number

From GMod Wiki

Jump to: navigation, search

In Lua, the number type is, by default, a double precision floating point number.

Example

DescriptionDeclare a number.
Used onNewerShared.png
Code
my_num = 1234.2 
//that wasn't so bad was it?
 
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox