User Tools

Site Tools


syntax:functions:isnumber

IsNumber(expression)

Category: Logical function


Description

This function returns TRUE if the result of expression is a number. Otherwise, it returns FALSE.


Arguments

ArgumentTypeDescription
expressionExpressionAny 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/isnumber.txt · Last modified: 2021/08/28 20:22 by craigt

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki