IS_NUMERIC

Description

Returns TRUE if the provided string contains only Unicode digits; otherwise, returns FALSE.

Syntax

IS_NUMERIC(string) -> Boolean

Parameters

ParameterData TypeRequiredDescription
stringStringYesThe string to evaluate.

Examples

IS_NUMERIC("123")
-- Returns TRUE.
IS_NUMERIC("-1.23%XYZ")
-- Returns FALSE, only Unicode digits are accepted.

Tips

  • Recognizes digits from any Unicode script. For example, IS_NUMERIC("१२३") (Devanagari) and IS_NUMERIC("٤٥٦") (Arabic-Indic) both return TRUE.
  • Returns FALSE if the string is empty.

  • Any letters, symbols, or spaces, will result in FALSE.