Thread
:
Just a newbie asking about JS
View Single Post
03-27-2003, 12:28 PM
#
2
(
permalink
)
abc123
bloomberg
Join Date: Jun 2002
Location: bloomberg
Posts: 263
to convert a string to an int:
Code:
var a_string = "123"; var the_int = parseInt(a_string); alert(the_int * 10); // should get 1230
__________________
-- bloomberg.
abc123
View Public Profile
Visit abc123's homepage!
Find More Posts by abc123