Bookshelf Home | Contents | Index | Search | PDF |
Siebel VB Language Reference > Siebel VB Language Reference >
IsNumeric Function
This standard VB function is used to determine whether the value of a variable is numeric.
Syntax
IsNumeric(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.
See Also
IsDate Function
IsEmpty Function
IsNull Function
VarType Function
Bookshelf Home | Contents | Index | Search | PDF |
Siebel VB Language Reference Published: 18 June 2003 |