Sets whether the edit box only accepts numeric input. Note: an edit box in numeric mode only accepts numeral input -- all other characters, including those commonly used in numeric representations (such as ., E, and -) are not allowed.

Signature:

EditBox:SetNumeric(enable)

Arguments:

  • enable - True to allow only numeric input; false to allow any text (boolean)