473,385 Members | 1,192 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

check whether a given number is an integer

Hi,

How to check whether a given number is an integer

Thanks,

Reddy
Nov 18 '05 #1
2 2694
how about using the ranger validation control or regular expression
validation control

--

Regards,

HD
"Reddy" <an********@NO.JUNK.MAIL> wrote in message
news:ex****************@tk2msftngp13.phx.gbl...
Hi,

How to check whether a given number is an integer

Thanks,

Reddy

Nov 18 '05 #2
Hi,

I am trying to validate whether the entered text is an integer or not on the
server side. I am using a custom validator because I need validate this
control's text when one of the items in the dropdown menu is selected

Thanks,

Reddy
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:ui**************@tk2msftngp13.phx.gbl...
how about using the ranger validation control or regular expression
validation control

--

Regards,

HD
"Reddy" <an********@NO.JUNK.MAIL> wrote in message
news:ex****************@tk2msftngp13.phx.gbl...
Hi,

How to check whether a given number is an integer

Thanks,

Reddy


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Amy | last post by:
Hi, I have 6 If Then Else statements I was supposed to write. I did so but I know that they have to be wrong because they all look the same. Could someone take a look at them and point me in the...
4
by: Craig G | last post by:
i have a small routine which i used in VB6 to check whether or not a field is off numeric input but im having a problem when trying to change this over to .NET what do i use instead of KeyAscii...
5
by: Eli | last post by:
Hi, I want to check whether a value is a scalar. A scalar can be: - None (null) - string - number (integer, float) - boolean How can I validate a value is one of these types? I care about...
6
by: tommaso.gastaldi | last post by:
Hi, does anybody know a speedy analog of IsNumeric() to check for strings/chars. I would like to check if an Object can be treated as a string before using a Cstr(), clearly avoiding the time...
2
by: NEMA | last post by:
How can i check the String letters? i have a textbox and will filled with numbers. i want to check if the number contain a '0' in font of the numbers, e.g. '090',i would like to cut the 1st '0',...
5
by: André | last post by:
Hello, I need to know whether the result of a division is a integer or not. dim x =60 dim y = 3 if x/y is a integer then .... else ....
44
by: user | last post by:
Hi, Let's say I have 2 dates in the b/m format: Date 1 and date 2 How do I check whether Date2 is later than Date 1? Date1. 21-Nov-2006 09:00:00 PM
7
by: geliangwei | last post by:
The 32-bit float number is defined by IEEE 754. Given a float variable, f, how to check whether each of the 32 bits is '1' or '0'? One possible solution is access f as a 32-bit int. That is...
10
by: Matthias | last post by:
Dear newsgroup. I want to write a template function which accepts either integer or floating point numbers. If a certain result is not a whole number and if the template parameter is an...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.