Article View: borland.public.jbuilder.java.language
Article #16379Re: 0.3-0.2=0.999999999998?
From: Tudor Holton
Date: Fri, 05 Mar 1999 00:00
Date: Fri, 05 Mar 1999 00:00
26 lines
1449 bytes
1449 bytes
Sorry, that should be 10:3D (or 16:61 in decimal).
Late night,
Tudor
Tudor Holton wrote:
> I've never understood why we can't just represent numbers after the
> decimal place as the size in reverse. e.g. 16.16 would be A:3D (or
> 16:61 in decimal)
>
> Tudor
>
> "-=(CyBerco)=-" wrote:
>
> > Hi,
> >
> > Try the following:
> >
> > System.out.println("What is 0.3-0.2 ? : " + (0.3-0.2));
> >
> > How come? I sure didn't expect this outcome!
> >
> > Greetings,
> > Berco.
Technical Details
Message-ID:
<36DE893A.F14EF212@alphalink.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7blg56$2pl$1@zonnetje.NL.net> <36DE833A.DFA9E627@alphalink.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5d71,3b89176b465afef X-Google-Attributes: gidf5d71,public X-Google-Thread: 10a146,3b89176b465afef X-Google-Attributes: gid10a146,public X-Google-Thread: f74b3,3b89176b465afef X-Google-Attributes: gidf74b3,public From: Tudor Holton <tudor@alphalink.com.au> Subject: Re: 0.3-0.2=0.999999999998? Date: 1999/03/05 Message-ID: <36DE893A.F14EF212@alphalink.com.au> X-Deja-AN: 451144688 Content-Transfer-Encoding: 7bit References: <7blg56$2pl$1@zonnetje.NL.net> <36DE833A.DFA9E627@alphalink.com.au> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.alphalink.com.au X-Trace: news.alphalink.com.au 920593609 5053 202.161.100.27 (5 Mar 1999 00:26:49 GMT) Organization: Alphalink Mime-Version: 1.0 NNTP-Posting-Date: 5 Mar 1999 00:26:49 GMT Newsgroups: borland.public.jbuilder.java.language,comp.lang.java,comp.lang.java.programmer