Re: Behaviour of round changed?

Greg Navis <[email protected]>
Newsgroups gmane.comp.lang.ruby.general
Message-ID <CAA6WWt-ETNGqNGbAv=y8X10aP1_CpniOos1dzyAdU16u9Ocw2A@mail.gmail.com>
Let me emphasize what Matthew already said: you should never, ever use
floats to represent money. Rounding, lack of precision, comparisons - all
that makes floats unreliable for dealing with monetary amounts.

Best regards
Greg Navis


Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.