How can I cast authoritatively in asp classic?

Posted by Tchalvak on Stack Overflow See other posts from Stack Overflow or by Tchalvak
Published on 2010-04-29T22:18:51Z Indexed on 2010/04/29 22:27 UTC
Read the original article Hit count: 281

Filed under:
|

In asp classic, the cint() function or procedure or whatever it is won't allow me to cast arbitrary strings, like "bob" or "null" or anything like that. Is there anything that will allow me to simply cast integers, numeric strings, and arbitrary strings to actual integers, with some sane default like 0 for strings?

© Stack Overflow or respective owner

Related posts about asp-classic

Related posts about casting