isdigit()

Read(216) Label: number, boolean value,

Description:

Check if a string is composed of numbers.

Syntax:

isdigit (string)

Note:

The function checks if the string string is composed of numbers. If string is an integer, look it up in the ASCII table to see if the corresponding characters are a number.

Parameters:

String

String/ numeric expression

Return value:

Boolean value

Example:

isdigit("123")

true

isdigit(123)

false

isdigit("abc")

false

isdigit("123ss")

false

Related functions:

isalpha()