🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

0.3-0.2=0.999999999998?

#16367
From: -=(CyBerco)=-
Date: Thu, 04 Mar 1999 00:00
10 lines
974 bytes
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: <7blg56$2pl$1@zonnetje.NL.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5d71,3b89176b465afef,start
X-Google-Attributes: gidf5d71,public
X-Google-Thread: 10a146,3b89176b465afef,start
X-Google-Attributes: gid10a146,public
X-Google-Thread: f74b3,3b89176b465afef,start
X-Google-Attributes: gidf74b3,public
From: "-=(CyBerco)=-" <Berco.Beute@EverMind.com>
Subject: 0.3-0.2=0.999999999998?
Date: 1999/03/04
Message-ID: <7blg56$2pl$1@zonnetje.NL.net>
X-Deja-AN: 451083306
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
X-Complaints-To: abuse@nl.uu.net
X-Trace: zonnetje.NL.net 920536038 2869 195.109.80.11 (4 Mar 1999 08:27:18 GMT)
Organization: UUNET-NL (http://www.nl.uu.net)
NNTP-Posting-Date: 4 Mar 1999 08:27:18 GMT
Newsgroups: borland.public.jbuilder.java.language,comp.lang.java,comp.lang.java.programmer