[Mono-list] Parse methods
Derek Holden
dsh2120@draper.com
Mon, 10 Dec 2001 06:59:46 -0500
I have something at the beginning of IntegerFormatter. Feel free to improve
it.
----- Original Message -----
From: "Nick Drochak" <ndrochak@gol.com>
To: "'Bob Smith'" <bob@thestuff.net>; "'Derek Holden'" <dsh2120@draper.com>
Cc: <mono-list@ximian.com>
Sent: Friday, December 07, 2001 8:10 PM
Subject: RE: [Mono-list] Parse methods
> Glad I didn't go too far.
>
> Do either of you have helper classes to pull the digits out of the
> different string formats?
>
> Nick D.
>
> > -----Original Message-----
> > From: mono-list-admin@ximian.com
> > [mailto:mono-list-admin@ximian.com] On Behalf Of Bob Smith
> > Sent: Saturday, December 08, 2001 2:39 AM
> > To: Derek Holden
> > Cc: Nick Drochak; mono-list@ximian.com
> > Subject: Re: [Mono-list] Parse methods
> >
> >
> > I've been working on some of the Parse methods myself. I've
> > got Double's done, and Int64 just needs a test compile from
> > someone. Once those two are done, they should work on Float,
> > Int32 and some of the other ones with very minor modifications.
> >
> > Bob Smith
> >
> > On Fri, 7 Dec 2001, Derek Holden wrote:
> >
> > > A while back I planned on working on the Parse
> > implementation, but got
> > > sidetracked with other stuff. I'm currently at work on the
> > ToString's
> > > for Single and Double, but I don't mind working with the
> > parsing after
> > > that if no one else wants it.
> > >
> > > ----- Original Message -----
> > > From: "Nick Drochak" <ndrochak@gol.com>
> > > To: <mono-list@ximian.com>
> > > Sent: Friday, December 07, 2001 10:57 AM
> > > Subject: [Mono-list] Parse methods
> > >
> > >
> > > > All,
> > > >
> > > > I got Byte.Parse(string) to work, which makes us pass the
> > test for
> > > > that. The other overloaded Parse()'s in Byte need to handle other
> > > > number formats, and since I'm off to Hawaii for a couple
> > of weeks, I
> > > > thought I'd just check it in and hopefully someone else
> > can work on
> > > > it while I'm gone.
> > > >
> > > > Basically what we need is the counterpart to IntegerFormatter.
> > > > Something like "NumberParser" that can extract the digits
> > out of a
> > > > valid string and provide them to each number type for specific
> > > > parsing.
> > > >
> > > > Anyone want to tackle that one? This would help us pass a whole
> > > > bucket load of unit tests!
> > > >
> > > > Aloha,
> > > > Nick D.
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Mono-list maillist - Mono-list@ximian.com
> > > > http://lists.ximian.com/mailman/listinfo/mono-list
> > >
> > >
> > > _______________________________________________
> > > Mono-list maillist - Mono-list@ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> > >
> >
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list@ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-> list
> >
> >
>
>
>
> _______________________________________________
> Mono-list maillist - Mono-list@ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list