Article View: borland.public.jbuilder.java.language
Article #19468Rounding Double Values
From: Matthew Allen
Date: Thu, 05 Feb 1998 00:00
Date: Thu, 05 Feb 1998 00:00
9 lines
705 bytes
705 bytes
this may be a stupid question, but is there an easy way to round/limit the number of decimal points when using double/float values? i tried to use BigDecimal Class but was unsuccessful thanx in advance Matthew Allen
Technical Details
Message-ID:
<34D900BA.3C5103F6@gpo.online.swin.edu.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,6560186bc34ead19,start X-Google-Attributes: gidf74b3,public From: Matthew Allen <mallen@gpo.online.swin.edu.au> Subject: Rounding Double Values Date: 1998/02/05 Message-ID: <34D900BA.3C5103F6@gpo.online.swin.edu.au> X-Deja-AN: 322145812 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii Organization: None Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language