-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 24 Jun 2003 20:46, Pe?a, Botp wrote:
>  Holden Glova [mailto:dsafari / paradise.net.nz] wrote:
> > > what is http://www.rubycentral.com/book/ref_c_bignum.html
> > > or http://raa.ruby-lang.org/list.rhtml?name=bigfloat, no?
> >
> > Thanks for your reply Botp, but wouldn't this still be
> > susceptible to rounding
> > error?
>
> could you site an example so that our ruby friends/hackers can also help?
>
> > Signed,
> > Holden Glova
>
> kind regards -botp

Actually funny you ask because I can't seem to make the float class provide 
rounding errors. I have been searching on the web but can't seem to make Ruby 
give me rounding errors. I was under the impressions that floats where always 
inaccurate, is this not the case in Ruby? The reason I ask is because I am 
working on a general Money class. Currently I am backing this with a Fixnum 
in cents, but would prefer to have some sort of decimal type that doesn't put 
a limit on 2 cent places. Very interesting indeed...

- -- 
Signed,
Holden Glova
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE++BHP0X8w8X71zPcRArDQAJ4kSnL7+N/34ugXxB8FWwawEfTYDACdHIZv
O3SxtC2kmOBnUG/8U59LHlQ=
=jlFO
-----END PGP SIGNATURE-----