DNumberWang.GetDecimals

From GMod Wiki

Jump to: navigation, search
Function
Syntax Panel:GetDecimals( )
Description:
Returns number of decimal of GetDecimals().
Returns: integer Decimals
In Object: Panel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DNumberWang.GetDecimals]DNumberWang.GetDecimals [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionReturns number of decimal Wang.
Used onNewerClient.png
Code
local Wang = vgui.Create( "DNumberWang" )
Wang:SetDecimals(5)
print(Wang:GetDecimals())      
 
OutputReturns "5" in the console.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox