Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as JavaScript by Adidishen ( 17 years ago )
function BadNumber(num) {
        for (i = 0; i < str.length; i++) {
            if (num.charAt(i) < '0' || num.charAt(i) > '9')
                return true;
        }
        return false;
    }

 

Revise this Paste

Parent: 5157
Children: 5159
Your Name: Code Language: