Re: can ASP check if an object is an integer?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Lord Merlin (SPAM_lordmerlin_at_bonzai.org.za_SPAM)
Date: 07/21/04


Date: Thu, 22 Jul 2004 00:04:04 +0200

Ok, one more question, how do I use this, if I want to checkif it's not an
integer.

I want to check two things, like so:

if company_count = 0 and Is(not?)Numeric(industry) then
// stuff here
end if

i.e. If company_count = 0, and industry is not an integer?

--
Kind Regards
Rudi Ahlers
+27 (82) 926 1689
Greater love has no one than this, that he lay down his life for his friends
(John 15:13).
"Steven Burn" <pvt@noyb.com> wrote in message
news:e1iac12bEHA.1732@TK2MSFTNGP09.phx.gbl...
| If IsNumeric(String_To_Check) Then
|     '// True
|     '// Do something
| Else
|     '// False
|     '// Do something else
| End If
|
| --
|
| Regards
|
| Steven Burn
| Ur I.T. Mate Group
| www.it-mate.co.uk
|
| Keeping it FREE!
|
|
| "Lord Merlin" <SPAM_lordmerlin@bonzai.org.za_SPAM> wrote in message
| news:cdmo3m$bdk$1@ctb-nnrp2.saix.net...
| > Sorry for the dumb question, but what is the function in ASP to see if
an
| > object / string is an integer?
| >
| > I want to check the contents of a form, and if it's an integer, i.e a
| > number, do something, else if it's a word do something else, and I'm not
| > sure howto?
| >
| > --
| >
| >
| > Kind Regards
| > Rudi Ahlers
| > +27 (82) 926 1689
| >
| > Greater love has no one than this, that he lay down his life for his
| friends
| > (John 15:13).
| >
| >
|
|


Relevant Pages

  • Re: regexing through numbers?
    ... Greater love has no one than this, that he lay down his life for his friends ... What kind of database? ...
    (microsoft.public.inetserver.asp.general)
  • Re: Muslim martyrs win praise at rally
    ... love than this, that he lay down his life for his friends", and "Dulce ... But if a Muslim says it, it's evil. ... There is a subtle difference between lying down your life for your friends ...
    (uk.legal)
  • Re: A Night On The Futon
    ... Greater love hath no man than this, that he lay down his friends for his life. ... (Jeremy Thorpe, 1962) ...
    (uk.people.silversurfers)
  • Re: Online Food Shopping? (Long)
    ... Greater love hath no man than this, that he lay down his friends for his life. ... (Jeremy Thorpe, 1962) ...
    (uk.people.silversurfers)
  • Re: New epg has arrived
    ... Greater love hath no man than this, that he lay down his friends for his life. ... (Jeremy Thorpe, 1962) ...
    (uk.tech.tv.sky)