strIsDigit

Tests if all characters in a string are digits. Takes str (string to test). Returns 1 if every character in the string is a digit (0-9), otherwise returns 0.

String

Parameters & Returns

Parameters

str String

Returns

Int

Quick Summary

Tests if all characters in a string are digits. Takes str (string to test). Returns 1 if every character in the string is a digit (0-9), otherwise returns 0.

Technical Exegesis...

Returns 1 if every character in the string is a digit (0-9), otherwise returns 0. Returns 0 if the string is empty or null.

All characters must be digits for this to return 1. Useful for validating numeric input before conversion or parsing user-entered numbers.

Example

Example.bam
; No example implemented yet