math.huge

From GMod Wiki

Jump to: navigation, search
Function
Syntax math.huge
Where is this used?
Description:
Represents infinity.
Returns: Float
Part of Library: Math
Realm: NewerShared.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Math.huge]Math.huge [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionThis code returns a number representing Infinity.
Used onNewerShared.png
Code
print(math.huge)
Output1.#INF


Additional Notes

math.huge == math.huge +5 -- this is true
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox