Home > lang > isdigit 
 fr de es it nl pl pt pt_BR mk sq ca ar fa vi ja ru zh zh_TW eo
Previous  Next  Edit  Rename  Undo  Refresh  Search  Administration  
Documentation
History
 
IsDigit
Syntax
Result = IsDigit ( sArg AS String ) AS Boolean
Result = Digit? ( sArg AS String ) AS Boolean

Returns TRUE if the String sArg contains only digits.

A digit is one of the following characters: [ 0123456789 ]

Examples

PRINT IsDigit("1972")

True

PRINT IsDigit("three")

False

See also

Character Test Functions