🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Limiting the number of decimal places...

#15361
From: Dan Patterson
Date: Mon, 21 Jun 1999 00:00
17 lines
902 bytes
I am doing a calculation and want to limit the number of decimal places that
are returned by the calculation. (e.g. I want 1.24 instead of
1.24234365423). Does anyone know how to do this ?

Many thanks

Dan



Daniel E Patterson, Ph.D.
Spider Product Manager
Welcom
281.558.0514 Phone
281.584.7828 Fax
www.welcom.com
dpatterson@welcom.com
Technical Details
Message-ID: <7kli52$5hj5@forums.borland.com>
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: f74b3,15b92570b266bfb4,start
X-Google-Attributes: gidf74b3,public
From: "Dan Patterson" <dan-patterson@email.msn.com>
Subject: Limiting the number of decimal places...
Date: 1999/06/21
Message-ID: <7kli52$5hj5@forums.borland.com>
X-Deja-AN: 492107931
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Organization: Welcom
X-MSMail-Priority: Normal
Reply-To: "Dan Patterson" <dan-patterson@email.msn.com>
Newsgroups: borland.public.jbuilder.java.language