ConVar.GetFloat
From GMod Wiki
Function | |
Syntax | ConVar:GetFloat( ) |
Description: | |
Retrieves an integer as a float value from a ConVar object. | |
Returns: | Float |
In Object: | Convar |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=ConVar.GetFloat]ConVar.GetFloat [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- The GetFloat method is affected by Lua's rounding error problems. In the example above, you can see that the value returned was ever so slightly off of the actual value.