Forums

ASP

This topic is locked

Quick Question

Posted 16 Jan 2003 17:25:50
1
has voted
16 Jan 2003 17:25:50 Tony Chronopoulos posted:
How do you convert a string into a number? (integer)

I'm trying to compare a value from a form with a number.

Thanks

___________________
microdesign² | www.microdesign2.com

Edited by - bloodtrain on 16 Jan 2003 17:29:10

Replies

Replied 16 Jan 2003 17:35:55
16 Jan 2003 17:35:55 Tony Chronopoulos replied:
Nevermind. It just came back to me! <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

___________________
microdesign² | www.microdesign2.com
Replied 16 Jan 2003 17:39:51
16 Jan 2003 17:39:51 Lee Diggins replied:
Hi Bloodtrain,

the CInt function:

dim myStr
myStr = "1"

dim myInt

myInt CInt(myStr)

Digga

Sharing Knowledge Saves Valuable Time!!!
Replied 16 Jan 2003 17:41:06
16 Jan 2003 17:41:06 Tony Chronopoulos replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Hi Bloodtrain,

the CInt function:

dim myStr
myStr = "1"

dim myInt

myInt CInt(myStr)

Digga

Sharing Knowledge Saves Valuable Time!!!
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Thanks anyway for your quick reply.

___________________
microdesign² | www.microdesign2.com

Reply to this topic