User Tools

Site Tools


syntax:functions:isnumber

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
syntax:functions:isnumber [2018/10/28 15:28] dmitrysyntax:functions:isnumber [2021/08/28 20:22] (current) craigt
Line 1: Line 1:
 ====== IsNumber(expression) ====== ====== IsNumber(expression) ======
 +Category:  Logical function
  
-Returns TRUE if result of //expression// is a number, otherwise returns FALSE.+\\  
 +=====Description===== 
 +This function returns TRUE if the result of //expression// is a number.  Otherwiseit returns FALSE. 
 + 
 +\\  
 +=====Arguments===== 
 +^Argument^Type^Description^ 
 +|expression|Expression|Any expression that could potentially result in a number.| 
 +**Return value type:** Boolean (TRUE/FALSE) 
 + 
 +\\  
 +=====Examples===== 
 + 
 +  isnumber(123) //Returns TRUE 
 + 
 +  isnumber("It's a number!") //Returns FALSE 
 + 
 +  isnumber(100/3) //Returns TRUE 
 + 
 +  isnumber([FieldA]) //Returns FALSE (where [FieldA] is empty) 
 + 
 + 
 +\\  
 +===== See also ===== 
 +  * [[syntax:functions:isboolean|IsBoolean(expression)]] 
 +  * [[syntax:functions:isempty|IsEmpty(expression)]] 
 +  * [[syntax:functions:iserror|IsError(expression)]] 
 +  * [[syntax:functions:isinteger|IsInteger(expression)]] 
 +  * [[syntax:functions:isnumeric|IsNumeric(expression)]] 
 +  * [[syntax:functions:istext|IsText(expression)]]
  
-^  Example  ^  FieldA  ^  Result  ^   
-| IsNumber( [FieldA] )  |  200 |  TRUE  |  
-| IsNumber( [FieldA] )  | It's a number!  |  FALSE   | 
-| IsNumber( [FieldA] )  |    FALSE   | 
syntax/functions/isnumber.1540754932.txt.gz · Last modified: 2018/10/28 15:28 by dmitry

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki