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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,7cda96e9413b780c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-07-17 15:09:38 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!wn1feed!worldnet.att.net!204.127.198.204!attbi_feed4!attbi_feed3!attbi.com!rwcrnsc52.ops.asp.att.net.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Floating Decimal Package/Library? References: <3D359BAC.9070006@cogeco.ca> X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 12.234.12.135 X-Complaints-To: abuse@attbi.com X-Trace: rwcrnsc52.ops.asp.att.net 1026943777 12.234.12.135 (Wed, 17 Jul 2002 22:09:37 GMT) NNTP-Posting-Date: Wed, 17 Jul 2002 22:09:37 GMT Organization: AT&T Broadband Date: Wed, 17 Jul 2002 22:09:37 GMT Xref: archiver1.google.com comp.lang.ada:27210 Date: 2002-07-17T22:09:37+00:00 List-Id: >> $3.3 billion should satisfy most of the rest of us. >Not true. Look at mutual fund holdings, or your bank's, or >... >The example above shows the currency to only 2 decimal >pension funds. > ... >we already need 20-22 digits. The Turkish GNP is about $200 billion, so another two digits to the left would cover it, ie, you would have to drop fractions of a lira (round to nearest 1/10,000 US cent) to fit. If instead you want to go to 4 digits to the right of the decimal (round to nearest one millionth of a US cent) then yes, you will indeed need 22 digits. I myself would rather go to type Turkish_GNP_Numbers is delta 1_000.0 digits 18; (round to nearest tenth of a US cent) but then I'm not your customer. ;) >To deal with these kinds of issues, INFORMIX >and Oracle (for example) do supply businesses with Decimal Did you check http://www.chez.com/bignumber