Difference between revisions of "IS NUMERIC()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 8: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [[IS_ARRAY()]], [[IS_DATE()]], [[IS_FLOAT()]], [[IS_INT()]], [[IS_LOGICAL]], [[IS_OBJECT()]], [[IS_STRING()]], [[ISALPHA()]], [[ISDIGIT()]], [[ISLOWER()]], [[ISUPPER()]], [[LOCAL]], [[PRIVATE]], [[PUBLIC]], [[RELEASE]], [[RESTORE]], [[SAVE]], [[TYPE()]] | + | [[IS_ARRAY()]], [[IS_DATE()]], [[IS_FLOAT()]], [[IS_INT()]], [[IS_LOGICAL()]], [[IS_OBJECT()]], [[IS_STRING()]], [[ISALPHA()]], [[ISDIGIT()]], [[ISLOWER()]], [[ISUPPER()]], [[LOCAL]], [[PRIVATE]], [[PUBLIC]], [[RELEASE]], [[RESTORE]], [[SAVE]], [[TYPE()]] |
Latest revision as of 15:10, 14 June 2011
Purpose
Function to check whether an expression is numeric
Syntax
IS_NUMERIC(<exp>)
See Also
IS_ARRAY(), IS_DATE(), IS_FLOAT(), IS_INT(), IS_LOGICAL(), IS_OBJECT(), IS_STRING(), ISALPHA(), ISDIGIT(), ISLOWER(), ISUPPER(), LOCAL, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, TYPE()
Description
The IS_NUMERIC() function returns .T. (true) if the specified expression is a numeric value, otherwise .F. (false).
Example
? is_numeric(1) .T. ? numeric(1.23) .T. ? is_numeric(-1) .T. ? is_numeric(2.2 ** 3) .T.
Products
Recital, Recital Server