w3schools
  
HOME HTML CSS XML JAVASCRIPT ASP PHP SQL MORE...   References Examples Forum About
BEST WEB HOSTING JustHosts

WMLScript isInt() Function


WMLScript Lang Library Complete WMLScript Lang Library

The isInt() function returns a Boolean value that is true if the value parameter can be converted into an integer by the parseInt() function, and false if not.

Syntax

n = Lang.isInt(value)

Part Description
n The Boolean value returned from the function
value Any value

Example

var a = Lang.isInt("576");
var b = Lang.isInt("-576");
var c = Lang.isInt("6.5");
var d = Lang.isInt("@13");
var e = Lang.isInt("hello");

Result

a = true
b = true
c = true
d = false
e = false


WMLScript Lang Library Complete WMLScript Lang Library

WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Top 10 Web Hosting
UK Reseller Hosting
Web Hosting
FREE Web Hosting
Top Web Hosting
Cheap UK Web Hosting
WEB BUILDING
XML Editor – Free Trial!
FREE Flash Website
FREE Web Templates
SEO Company
EDUCATION
US Web Design Schools
HTML Certification
JavaScript Certification
XML Certification
PHP Certification
ASP Certification
STATISTICS
Browser Statistics
Browser OS
Browser Display
FLIGHT TICKETS
Find the cheapest flight
to any destination now!
SHARE THIS PAGE