Difference between revisions of "IS FLOAT()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 32: | Line 32: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:Expressions and Type Conversion]] | ||
+ | [[Category:Expressions and Type Conversion Functions]] |
Revision as of 11:30, 12 November 2009
Purpose
Function to check whether an expression is numeric
Syntax
IS_FLOAT(<exp>)
See Also
IS_ARRAY(), IS_INT(), IS_OBJECT(), IS_STRING(), ISALPHA(), ISDIGIT(), ISLOWER(), ISUPPER(), LOCAL, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, TYPE()
Description
The IS_FLOAT() function returns .T. (true) if the specified expression is a numeric value, otherwise .F. (false).
Example
? is_float(1) .T. ? is_float(1.23) .T. ? is_float(-1) .T. ? is_float(2.2 ** 3) .T.
Products
Recital, Recital Server