Re: sorry .09 instead of .08



"Tony Morris" <not@xxxxxxxxxxx> wrote in news:43dd5243@xxxxxxxxxxxxxxxx:

>
> "zero" <zero@xxxxxxx> wrote in message
> news:Xns975B380BB167zerothishi@xxxxxxxxxxxxxxxxx
>>
>> BigDecimal will be slower though. If the values are all currency
>> values, with only 2 numbers after the decimal point, ints are a good
>> choice.
>
> Are you saying that billionaires don't exist? My dream has been
> shattered!! Use a long - 9223 trillion dollars ought to be enough for
> anybody, right Bill?
>

Lol yes I was going to put that in my message - beware of over/underflow,
and use long if you need larger amounts - but I left it out 'cause I was
too lazy and wanted to keep the message short
.



Relevant Pages

  • Re: sorry .09 instead of .08
    ... > zero wrote: ... >> BigDecimal will be slower though. ... If the values are all currency ... > Using ints is full of traps. ...
    (comp.lang.java.help)
  • Re: sorry .09 instead of .08
    ... slower. ... Better to keep it safe than prematurely optimise. ... Using ints is full of traps. ...
    (comp.lang.java.help)
  • Re: Formating currency on label
    ... That is pretty much the same thing except slower:) ... currency... ... I'm using a SqlDataReader reader, but doesnt work... ...
    (microsoft.public.dotnet.framework.aspnet)