String to integer...

Results 1 to 2 of 2

Thread: String to integer...

  1. #1
    Join Date
    Dec 1969

    Default String to integer...

    Hello all.<BR>A user enters a value for his height in inches.<BR>My script must convert it to centimeters.<BR>Problem: 2.54 * "a string containing 68" returns a type mismatch...<BR> do we take what was entered into a text input field and turn it into an actual integer? <BR> <BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: String to integer...

    2.54 * CLng("a string containing 68")<BR><BR>Cheers,<BR><BR>A.L.

Posting Permissions

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