R
Ray at
The easiest way in this case would be to CInt your number.
s = "00000102"
snew = CInt(s)
response.write snew
Ray at work
s = "00000102"
snew = CInt(s)
response.write snew
Ray at work
The easiest way in this case would be to CInt your number.
s = "00000102"
snew = CInt(s)
response.write snew
JT said:how would i transform this number: 00000102 into 102
basically, i just want to remove all preceding zeroes, but not replace all
zeroes
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.