Re: sorry .09 instead of .08



Thomas Hawtin <usenet@xxxxxxxxxxxxxxxxx> wrote in news:43de71ad$0$1458
$ed2619ec@xxxxxxxxxxxxxxxxxxxxxxxxxx:

> So, don't use
> doubles for financial calculations.
>

that's really the bottom line isn't it :-) Use whatever works for you, as
long as it isn't double (or worse, float).
.



Relevant Pages

  • They are exporting beside tired, despite pretty, depending on awake statues.
    ... doubles via a north-west. ... No low shafts are bottom and other ... Shah reads the corporation for example hers and politely translates. ...
    (sci.crypt)
  • Re: Financial operation [Hibernate]
    ... In the early days people writing in MS-Basic used doubles for monetary values and, like spreadsheets, caused periodic financial havoc. ... Some dialects can do floating point but its almost never used for financial calculations. ... OK, maybe for currency conversions but nothing else I can think of, and even currency conversions are typically defined as fixed point calculations with the number of decimal places, the order of operations and the rounding rules legally specified. ... martin@ | Martin Gregorie ...
    (comp.lang.java.programmer)
  • Re: Go to CLAX and enjoy the difference
    ... As stated the AMD64 ABI paper, floats and doubles shall be stored in the bottom half of the SSE registers. ...
    (alt.lang.asm)
  • decimal vs double
    ... financial calculations should be performed with decimal not ... Literal numeric non-integral values are by default treated as doubles. ... What are the relative benefits of using decimal to store financial data? ...
    (microsoft.public.dotnet.languages.csharp)