User Tools

Site Tools


syntax:functions:isnumeric

IsNumeric(expression)

Category: Logical function


Description

This function returns TRUE if the result of expression is a number or text that looks like a number. Otherwise, it returns FALSE.


Arguments

ArgumentTypeDescription
expressionExpressionAny expression that could potentially result in a number, or text that appears as a number.

Return value type: Boolean (TRUE/FALSE)


Examples

isnumeric(123) //Returns TRUE
isnumeric('456') //Returns TRUE
isnumeric('100' & '20') //Returns TRUE (the result '10020' appears as a number)
isnumeric('This is a number!') //Returns FALSE
isnumeric('100A') //Returns FALSE


See also

syntax/functions/isnumeric.txt · Last modified: 2021/08/28 20:39 by craigt