Check Data type

Results 1 to 3 of 3

Thread: Check Data type

  1. #1
    Join Date
    Dec 1969

    Default Check Data type

    how do i check that a variable is of an integer type or string type. this is for error checking on a form. i want to make sure that a number isn't entered into a field that should contain text.

  2. #2
    Ed Guest

    Default RE: Check Data type

    Are you looking to do some form validation? Javascript is the best bet... R&D IsNAN (Is not a number...)

  3. #3
    Join Date
    Dec 1969

    Default RE: Check Data type

    If your using ASP you can use the isNumeric() function.<BR><BR>If not isNumeric(text) then<BR>&#039;error handling<BR>end if

Posting Permissions

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