Garry's Mod Wiki

DTextEntry:GetNumeric

  boolean DTextEntry:GetNumeric()

Description

Returns whether only numeric characters (123456789.-) can be entered into the DTextEntry.

Returns

1 boolean
Whether the DTextEntry is numeric or not.