testing data types

Results 1 to 2 of 2

Thread: testing data types

  1. #1
    Joey Guest

    Default testing data types

    How do I test a variable to see if it is a number or string?<BR><BR>Thanks<BR><BR>Joey

  2. #2
    Sathiya Guest

    Default RE: testing data types

    VBscript&#039s built in functions include IsNumeric it returns true if the string can be converted to number else false.Remember all the data coming from a HTML form is string data.<BR><BR>If IsNumeric(TheValue) Then<BR>----<BR>Else<BR>-----<BR>End If<BR><BR>I think this might help.<BR><BR>Sathiya

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •