🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Round (fix) of doubles

#15199
From: flashback
Date: Sun, 04 Jul 1999 00:00
21 lines
1001 bytes

Thomas Christen wrote:
> 
> I'm looking for a simple round Methode. It should be able to round a value
> (e.g. 37821738912.1345 to 37821738912.135 [up]). I tryed the folowing but
> failed :
> 
see BigDecimal, an gere take a look at the setScale-method

regards

gregor
-- 


the best is yet to come...

http://gregor.url4life.com
icq-# 14100227
public key available at pgp.ai.mit.edu
Technical Details
Message-ID: <377F199B.DEA674F6@netcologne.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7lfb87$9s6@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,7cf999f6520b6d14
X-Google-Attributes: gidf74b3,public
From: flashback <flashback@netcologne.de>
Subject: Re: Round (fix) of doubles
Date: 1999/07/04
Message-ID: <377F199B.DEA674F6@netcologne.de>
X-Deja-AN: 496990920
Content-Transfer-Encoding: 7bit
References: <7lfb87$9s6@forums.borland.com>
X-Accept-Language: en,de
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Reply-To: flashback@netcologne.de
Newsgroups: borland.public.jbuilder.java.language