ConVar.GetFloat
From GMod Wiki
Revision as of 22:30, 18 September 2009 by Unrealomega (Talk | contribs)
| 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.