Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 43312 invoked from network); 14 Nov 2001 19:37:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Nov 2001 19:37:46 -0000 Received: (qmail 27474 invoked by uid 97); 14 Nov 2001 19:37:00 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 27435 invoked by uid 97); 14 Nov 2001 19:36:59 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 27424 invoked from network); 14 Nov 2001 19:36:59 -0000 Date: Wed, 14 Nov 2001 11:35:39 -0800 From: phillipmastroianni@shaw.ca Subject: Re: Java and double To: Tomcat Users List Message-id: <1520d1583a.1583a1520d@shaw.ca> MIME-version: 1.0 X-Mailer: iPlanet Webmail Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: quoted-printable Content-disposition: inline X-Accept-Language: en X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N try putting a 1000d (I think you have to tell the vm that this is a = double value or it may try an compute a float! ----- Original Message ----- From=3A Micael Padraig Og mac Grene =3Ccaraunltd=40harbornet=2Ecom=3E Date=3A Wednesday=2C November 14=2C 2001 9=3A41 am Subject=3A Re=3A Java and double =3E Not sure what your point is=2E The code is okay=2C check out the = =3E =22internal=22math yourself=2E You can do it by hand=2E If you want= more = =3E precision=2C use =3E different code=2E =3E = =3E -----Original Message----- =3E From=3A Mangi=2C Rick =3Crick=2Emangi=40zcmgroup=2Ecom=3E =3E To=3A =27Tomcat Users List=27 =3Ctomcat-user=40jakarta=2Eapache=2Eorg= =3E =3E Date=3A Wednesday=2C November 14=2C 2001 8=3A44 AM =3E Subject=3A RE=3A Java and double =3E = =3E = =3E =3EYa=2C I=27ve seen that one before=2E use the java=2Emath package=2E= =3E =3E =3E =3E-----Original Message----- =3E =3EFrom=3A Laurent Michenaud =5Bmailto=3Almichenaud=40adeuza=2Efr=5D =3E =3ESent=3A Wednesday=2C November 14=2C 2001 10=3A39 AM =3E =3ETo=3A tomcat-user=40jakarta=2Eapache=2Eorg =3E =3ESubject=3A Java and double =3E =3E =3E =3E =3E =3EHi=2C =3E =3E =3E =3EExcuse me=2E=2E=2E this mail shouldnot be on this mailing list but= =3E =3Eit is an hurry=2E =3E =3E =3E =3Epublic class TestDouble =3E =3E=7B =3E =3E static public void main(String args=5B=5D) =7B =3E =3E =3E =3E double val =3D 0=2E5055 * 1000 =3B =3E =3E System=2Eout=2Eprintln( val )=3B =3E =3E =7D =3E =3E=7D =3E =3E =3E =3EThis program gives me the following results =3A =3E =3E505=2E49999999999994 =3E =3E =3E =3EI=27ve tried with Sun Jdk 1=2E2=2E2rev9=2C Sun jdk1=2E3=2E1 and Ib= m Jdk 1=2E3=2E1=2E =3E =3E =3E =3EHave u got informations about this =3F =3E =3ECan u try too =3F =3E =3E =3E =3EThanks a lot and sorry again =3E =3E =3E =3EBye =3E =3E =3E =3EMichenaud Laurent =3E =3E- Adeuza - =3E =3E=5B D=E9veloppeur Web - Administrateur R=E9seau =5D =3E =3E =3E =3E =3E =3E-- =3E =3ETo unsubscribe=3A =3Cmailto=3Atomcat-user-unsubscribe=40jakarta=2E= apache=2Eorg=3E =3E =3EFor additional commands=3A =3Cmailto=3Atomcat-user-help=40jakarta=2E= apache=2Eorg=3E =3E =3ETroubles with the list=3A =3Cmailto=3Atomcat-user-owner=40jakarta=2E= apache=2Eorg=3E =3E =3E =3E =3E =3E =3EThis email and any attachments are confidential and may be =3E =3Elegally privileged=2E No confidentiality or privilege is waived =3E =3Eor lost by any transmission in error=2E If you are not the =3E =3Eintended recipient you are hereby notified that any use=2C =3E =3Eprinting=2C copying or disclosure is strictly prohibited=2E =3E =3EPlease delete this email and any attachments=2C without =3E =3Eprinting=2C copying=2C forwarding or saving them and notify the =3E =3Esender immediately by reply e-mail=2E Zurich Capital Markets =3E =3Eand its affiliates reserve the right to monitor all e-mail =3E =3Ecommunications through its networks=2E Unless otherwise =3E =3Estated=2C any pricing information in this e-mail is indicative =3E =3Eonly=2C is subject to change and does not constitute an offer =3E =3Eto enter into any transaction at such price and any terms in =3E =3Erelation to any proposed transaction are indicative only and =3E =3Esubject to express final confirmation=2E =3E =3E =3E =3E-- =3E =3ETo unsubscribe=3A =3Cmailto=3Atomcat-user-unsubscribe=40jakarta=2E= apache=2Eorg=3E =3E =3EFor additional commands=3A =3Cmailto=3Atomcat-user-help=40jakarta=2E= apache=2Eorg=3E =3E =3ETroubles with the list=3A =3Cmailto=3Atomcat-user-owner=40jakarta=2E= apache=2Eorg=3E =3E =3E =3E =3E =3E = =3E = =3E -- =3E To unsubscribe=3A =3Cmailto=3Atomcat-user-unsubscribe=40jakarta=2Ea= pache=2Eorg=3E =3E For additional commands=3A =3Cmailto=3Atomcat-user-help=40jakarta=2Ea= pache=2Eorg=3E =3E Troubles with the list=3A =3Cmailto=3Atomcat-user-owner=40jakarta=2Ea= pache=2Eorg=3E =3E = =3E -- To unsubscribe: For additional commands: Troubles with the list: