Difference between revisions of "IS NUMERIC()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Helen.george (Talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
Function to check whether an expression is numeric | Function to check whether an expression is numeric | ||
− | |||
==Syntax== | ==Syntax== | ||
IS_NUMERIC(<exp>) | IS_NUMERIC(<exp>) | ||
− | |||
==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()]] | ||
− | |||
==Description== | ==Description== | ||
The IS_NUMERIC() function returns .T. (true) if the specified expression is a numeric value, otherwise .F. (false). | The IS_NUMERIC() function returns .T. (true) if the specified expression is a numeric value, otherwise .F. (false). | ||
− | |||
==Example== | ==Example== | ||
Line 26: | Line 22: | ||
.T. | .T. | ||
</code> | </code> | ||
− | |||
==Products== | ==Products== | ||
− | + | Lianja, Lianja Server | |
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | [[Category: | + | [[Category:Formatting Functions]] |
− | [[Category: | + | [[Category:Lianja VFP Extensions]] |
+ | [[Category:VFP Function Extensions]] |
Latest revision as of 08:13, 4 February 2013
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
Lianja, Lianja Server