how do i convert a string to a number?
eg
lsttags.style.height=window.screen.height-lsttags.style.height
that wont work because they're strings, so i cant preform subtraction
Printable View
how do i convert a string to a number?
eg
lsttags.style.height=window.screen.height-lsttags.style.height
that wont work because they're strings, so i cant preform subtraction
Umm.. they shouldn't be strings. Are you getting an error message? If so, what is it?
Monte's right; it's not suppose to be a string. However, FYI, you can use CINT(yourstringhere) to convert a string to an integer.
Good Luck