DTextEntry/CheckNumeric

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
m
 
Line 1: Line 1:
 
{{PanelFunc
 
{{PanelFunc
 
|Description=Returns whether a string is numeric or not.
 
|Description=Returns whether a string is numeric or not.
Always returns false if the DTextEntry is not numeric.
+
Always returns false if the {{ClassFunction|DTextEntry|SetNumeric}} is set to false.
 
}}
 
}}
 
{{Arg
 
{{Arg

Latest revision as of 02:38, 22 June 2016

 DTextEntry:CheckNumeric( )

DescriptionPanelFunc

Returns whether a string is numeric or not. Always returns false if the DTextEntry:SetNumeric is set to false.

Arguments

string strValue

The string to check.

Returns

boolean

Whether the string is numeric or not.
Personal tools
Navigation