|
-
Apr 27th, 2001, 11:47 PM
#1
Thread Starter
Addicted Member
convert string to number
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
Brian
Programming: VB5 Pro (SP3) - QBasic 1.1,4.5
Internet: HTML 4, CSS, JavaScript
Visit AltInt.com!
-
Apr 28th, 2001, 03:00 PM
#2
Frenzied Member
Umm.. they shouldn't be strings. Are you getting an error message? If so, what is it?
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Apr 30th, 2001, 10:14 AM
#3
Lively Member
CINT
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|