Siebel VB Language Reference > VB Language Reference >
IsNumeric Function
This standard VB function is used to determine whether the value of a variable is numeric. Syntax
IsNumeric(expression)
|
|
expression |
Any valid expression |
Returns
-1 (TRUE) if expression has a data type of Numeric, 0 (FALSE) otherwise. Usage
IsNumeric returns -1 (TRUE) if the expression is of vartypes 2-6 (numeric) or a string that can be interpreted as a number. If numeric input is required, IsNumeric can be used to determine whether the value input by the user is a valid number before converting the input to a numeric data type for processing. Related Topics
IsDate Function IsEmpty Function IsNull Function VarType Function
|