Skip to main content
How Can We Help?
< All Topics
Print

$isnumber

Tests if an expression produces a valid number after its evaluation.

Syntax

$isnumber(expression)

Parameters

expression            a character string or an expression that evaluates to a character string

Return Value

Returns 1 ($True) if string meets the validation test; otherwise, returns 0 ($False).

Example

$isnumber(2+3)
$isnumber($trim("  3.5"))

Evaluates to $True.

$isnumber($trim(LastName))

Evaluates to $False.

See Also

$isalphabetic

$isalphanumeric

$isdate

$isdigit

$islower

$isupper

$iszimname

About Character Literals

About Functional Expressions

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese