Depending on the exact kind of data he anticipates, a totally different
approach may be needed, like of the data will wind up being "0000102A"
"00000102B" and things like that. But I guess we'll see.
Ray at home
"Mark Schupp" <ms*****@ielearning.com> wrote in message
news:uT*************@TK2MSFTNGP12.phx.gbl...
you might want to use CLng rather than CInt unless you know that the
number will never be greater than 32k.
--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:eo**************@tk2msftngp13.phx.gbl... The easiest way in this case would be to CInt your number.
s = "00000102"
snew = CInt(s)
response.write snew
Ray at work
"JT" <je******@sppinc.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl... how would i transform this number: 00000102 into 102
basically, i just want to remove all preceding zeroes, but not replace all zeroes