isDigit

isDigit

Syntax

isDigit(str)

Package


Alias


Pkg Usage


Description

Returns "true" if the provided argument str is a string containing only digits.

Parameters

Parameter name

Type

Required

Description

str

String

Yes

Specifies a character expression.

Return Type

Boolean (true/false)

Examples

Example 1

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

Print true

Example 2

wret = isDigit("aaa2345f.ff"); print (wret );

Print false

Example 3

wret = isDigit("2.34"); print(wret);

Print false

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.