Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Type Erros

Status
Not open for further replies.

LinuxKommy

Technical User
Apr 2, 2002
31
US
I've used an array to hold Lengths, Widths, and Heights for a program, but i found that they're being stored as strings instead of number because they're being submitted frrom a form from textboxes. How do i get them to be numbers again? apparently CInt() doesn't work.

thanks,
DG
 
CInt() should work just fine if the number fits within the Integer datatype boundary -32768 to 32767

use CLng() for larger numbers

=========================================================
try { succeed(); } catch(E) { tryAgain(); }
-jeff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top