Michael Chermside wrote: > Marc-Andre Lemburg writes: >> You often have a need for controlled rounding when doing >> financial calculations or [other reason snipped] > > Hmm. Not in the banks _I_ have worked at! We *never* use binary > floating point for money. The decimal class is fairly useful in > that regard. For accounting, I agree - banks would rather not lose too many cents :-) However, banks also tend to do more exotic things, esp. in investment banking, where prices are not determined by taking the sum of a list of values, but rather turn out to be the result of some calculus. -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Aug 02 2006) >>> Python/Zope Consulting and Support ... http://www.egenix.com/ >>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ >>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/ ________________________________________________________________________ ::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4