-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: rags_rao
Message 11 in Discussion
no need to loop thru
use
int.Parse("34325325")
if this throws an exception then its not a
number. is this what u want?
.........or is it a array of
strings?
Regards,
Raghunandan R,
Software Engineer,
Nous
Infosystems,
#1,1st main,1st block,kormangala,bangalore - 560034.
ph:
+91-80-553 4208/552 2086
-----Original Message-----
From: rajusavadi
[mailto:[EMAIL PROTECTED]
Sent: Thursday, January 08, 2004
3:37 PM
To: BDOTNET
Subject: Re: How to check string
contains valid number
New Message on BDOTNET
How to
check string contains valid number
Reply
Reply to Sender Recommend
Message 10 in
Discussion
From: rajusavadi
Hi Pooran,
if single.IsNaN(0 takes only float value not string. I want to
loop through if string conatins only numeric
characters.
Regards
Gururaj
----- Original Message -----
From: Pooran-Prasad
To: BDOTNET
Sent: Thursday, January 08, 2004 11:46 AM
Subject: Re: How to check string contains valid
number
New Message on BDOTNET
How to check
string contains valid number
Reply
Reply to Sender
Recommend
Message 4 in
Discussion
From:
Pooran-Prasad
Hi Gururaj,
From
MSDN..
[Visual Basic]
' This will
return true.
If Single.IsNaN(0 / zero)
Then
Console.WriteLine("Single.IsNan() can
determine whether a value is
not-a-number.")
End If
[C#]
//
This will return true.
if (Single.IsNaN(0 /
zero))
{
Console.WriteLine("Single.IsNan()
can determine whether a value is
not-a-number.");
}
Hope that
helps
Have a great day :)
R. Pooran
Prasad
Itreya Technologies Pvt Ltd.,
Mail:
[EMAIL PROTECTED]
Phone(Off) :
+91(80)5200179 Extn: 51
Mobile: +91 98860
29578
View other groups in this category.
View other groups in this
category.
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]