From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5d71,d275ffeffdf83655 X-Google-Attributes: gidf5d71,public X-Google-Thread: 109fba,d275ffeffdf83655 X-Google-Attributes: gid109fba,public X-Google-Thread: 146b77,d275ffeffdf83655 X-Google-Attributes: gid146b77,public X-Google-Thread: 103376,d275ffeffdf83655 X-Google-Attributes: gid103376,public From: Al Christians Subject: Re: Ada vs C++ vs Java Date: 1999/02/01 Message-ID: <36B63FA0.AEEE3114@easystreet.com>#1/1 X-Deja-AN: 439550053 Content-Transfer-Encoding: 7bit References: <369C1F31.AE5AF7EF@concentric.net> <369DDDC3.FDE09999@sea.ericsson.se> <369e309a.32671759@news.demon.co.uk> <77ledn$eu7$1@remarQ.com> <77pnqc$cgi$1@newnews.global.net.uk> <8p64spq5lo5.fsf@Eng.Sun.COM> <8p6vhi5mv34.fsf@Eng.Sun.COM> <8p6yan1xger.fsf@Eng.Sun.COM> <78agrm$9jp$1@nnrp1.dejanews.com> <78g16t$907$1@nnrp1.dejanews.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: news7.ispnews.com 917912780 206.103.35.248 (Mon, 01 Feb 1999 18:46:20 EDT) Organization: Trillium Resources Corporation MIME-Version: 1.0 NNTP-Posting-Date: Mon, 01 Feb 1999 18:46:20 EDT Newsgroups: comp.lang.ada,comp.lang.c++,comp.vxworks,comp.lang.java Date: 1999-02-01T00:00:00+00:00 List-Id: "Robert I. Eachus" wrote: > > > But it is indeed very surprising that you have > two choices when writing a financial applet in Java--use floating > point and hope not to get bitten, or use scaled integer with > hand-coded scaling... > What is more surprising is the Rogue Wave software package JMoney for Java. It is the Java equivalent of their C++ money.h package. With money.h, precision into the hundreds of digits is supported, but JMoney only goes up to 15 decimal digits -- it looks like JMoney is just a wrapper around a Java floating point. Al