Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Is Integer Value

DZone's Guide to

Is Integer Value

·
Free Resource
// Nota : Rafael Trindade da Silva - Mantus Deus Estrusco do Inferno
// Email : rafaeltds at gmail dot comfunction isInteger(s) {
  if (s == "") return;
	for (i = 0 ; i < s.length ; i++) {
  	if ((s.charAt(i) < '0') || (s.charAt(i) > '9'))	return false
	}
	return true;
}
Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}