Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!jstuckle.eternal-september.org!.POSTED!not-for-mail From: Jerry Stuckle Newsgroups: comp.lang.java.programmer Subject: Re: [OT] Re: missing import java.lang.Comparable Date: Fri, 15 Jul 2016 15:38:25 -0400 Organization: A noiseless patient Spider Lines: 37 Message-ID: References: <638a1d64-f125-4456-a20b-4dbf45f49da2@googlegroups.com> <60a5ccde-2657-48d6-b3dd-04ec1a0973ab@googlegroups.com> <6cbiob184r55h86pg11p45gkkmg4c877tu@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Injection-Date: Fri, 15 Jul 2016 19:38:22 -0000 (UTC) Injection-Info: jstuckle.eternal-september.org; posting-host="8b88f1819ae50b8afa97a5cef254b303"; logging-data="3547"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX192bTjPXMavS9YZP+NPn/s/Csj4WeAqw+4=" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: <6cbiob184r55h86pg11p45gkkmg4c877tu@4ax.com> Cancel-Lock: sha1:Cna8WkyCBNbMwO/BrawT81McYqI= Xref: csiph.com comp.lang.java.programmer:34905 On 7/15/2016 2:39 PM, Gene Wirchenko wrote: > On Fri, 8 Jul 2016 20:59:38 -0400, Jerry Stuckle > wrote: > > [snip] >> Not when you're talking figures in the hundreds of billions of dollars. >> Not even doubles will go to 999,999,999,999.999999. > > Any type has limitations. I can get 15 digits of precision in > JavaScript. That is enough for unit trillions with two decimal > digits. > How about with six decimal digits - as financial calculations require? It doesn't even make it to one billion. Also, who cares about javascript? >> Packed decimal easily handles this and even larger. > > When it is available. > Which is a big reason why COBOL is still the most commonly used language in finance (including banks, insurance companies and governments). > Sincerely, > > Gene Wirchenko > -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ==================