🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #725

Re: Divide by zero using NumberFormat.getInstance().format(0.0)

#725
From: John McGrath [TeamB]
Date: Tue, 07 Dec 2004 05:51
22 lines
1645 bytes
On 12/6/2004 at 9:50:32 PM, Richard Ulrich wrote:

> I'm getting the error "Unexpected Signal : EXCEPTION_FLT_DIVIDE_BY_ZERO 
> (0xc000008e) occurred at PC=0xA4CB08" on the last line of the following 
> block (which is adapted from my code):
     :
>       String str = nf.format(dexp);   //BAM!
     :
> Am I doing something wrong?

It is probably something wrong with your configuration or with your JDK.

It works fine for me.

-- 
Regards,

John McGrath [TeamB]

---------------------------------------------------
Before sending me e-mail, please read:
    http://www.JPMcGrath.net/newsgroups/e-mail.html
Technical Details
Message-ID: <xn0dqprpc5n45ef001@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41b51a6c$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f74b3,b31ba3124d5e059f
X-Google-Attributes: gidf74b3,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "John McGrath  [TeamB]" <ng-b@JPMcGrath.net>
Subject: Re: Divide by zero using NumberFormat.getInstance().format(0.0)
Newsgroups: borland.public.jbuilder.java.language
References: <41b51a6c$1@newsgroups.borland.com>
User-Agent: XanaNews/1.16.5.2
Message-ID: <xn0dqprpc5n45ef001@newsgroups.borland.com>
X-Ref: newsgroups.borland.com ~XNS:0000009A
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
NNTP-Posting-Host: 141.158.52.64
Date: 6 Dec 2004 21:51:59 -0800
X-Trace: newsgroups.borland.com 1102398719 141.158.52.64 (6 Dec 2004 21:51:59 -0800)
Lines: 22
X-Authenticated-User: jpmcgrath
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!lnewsoutpeer00.lnd.ops.eu.uu.net!lnewsinpeer01.lnd.ops.eu.uu.net!emea.uu.net!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail