isNumeric

isNumeric

 

Syntax

isNumeric(str)

Package

 

Alias

 

Pkg Usage

 

Description

Returns "true" if the provided argument stris actually a number.

Parameters

Parameter name

Type

Required

Description

Parameter name

Type

Required

Description

str

String

Yes

Specifies a character expression.

Return Type

Boolean (true/false)

Examples

Example 1

wret = isNumeric("2345"); print(wret);

Print true

Example 2

wret = isNumeric("-2345.678"); print(wret);

Print true

Example 3

wret = isNumeric("2345.678abcd"); print(wret);

Print false

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.