Garry's Mod Wiki

DTextEntry:CheckNumeric

  boolean DTextEntry:CheckNumeric( string strValue )

Description

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

Arguments

1 string strValue
The string to check.

Returns

1 boolean
Whether the string is numeric or not.