Re: How to check whether the value is a whole number not?
- From: "Siew Yee" <SiewYee@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 13 Aug 2005 00:01:02 -0700
Thanks. I will go try it out.
"Peter van der Goes" wrote:
>
> "Siew Yee" <SiewYee@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:E2563ABC-B3F6-4C42-8586-F00E48627B10@xxxxxxxxxxxxxxxx
> > Hi,
> >
> > Does C# provide a method to check/validate whether the value is a whole
> > number not?
> > Thanks.
> >
> > Regards,
> > Siew Yee
>
> Reaseach the .NET Framework Convert class. If, for example, you were to use
> the Convert.ToInt32 method in a try - catch block, any attempt to convert an
> argument that is not an integer will throw an exception and you can deal
> with it.
>
> --
> Peter [MVP Visual Developer]
> Jack of all trades, master of none.
>
>
>
.
- References:
- How to check whether the value is a whole number not?
- From: Siew Yee
- Re: How to check whether the value is a whole number not?
- From: Peter van der Goes
- How to check whether the value is a whole number not?
- Prev by Date: RE: Performance Issue
- Next by Date: Simple Q - navigation not showing in bound textbox!
- Previous by thread: Re: How to check whether the value is a whole number not?
- Next by thread: Performance Issue
- Index(es):
Relevant Pages
|