Difference between revisions of "IS INT()"

From Lianjapedia
Jump to: navigation, search
 
Line 27: Line 27:
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
[[Category:Expressions and Type Conversion]]
+
[[Category:Formatting Functions]]
[[Category:Expressions and Type Conversion Functions]]
+
 
[[Category:Lianja VFP Extensions]]
 
[[Category:Lianja VFP Extensions]]
 
[[Category:VFP Function Extensions]]
 
[[Category:VFP Function Extensions]]

Latest revision as of 08:12, 4 February 2013

Purpose

Function to check whether an expression is numeric

Syntax

IS_INT(<exp>)

See Also

IS_ARRAY(), IS_FLOAT(), IS_OBJECT(), IS_STRING(), ISALPHA(), ISDIGIT(), ISLOWER(), ISUPPER(), LOCAL, PRIVATE, PUBLIC, RELEASE, RESTORE, SAVE, TYPE()

Description

The IS_INT() function returns .T. (true) if the specified expression is a numeric value, otherwise .F. (false).

Example

? is_int(1)
.T.
? is_int(1.23)
.T.
? is_int(-1)
.T.
? is_int(2.2 ** 3)
.T.

Products

Lianja, Lianja Server