🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Formatting float output

#20078
From: Angus M. Fraser
Date: Wed, 29 Oct 1997 00:00
22 lines
1121 bytes
Joe Nuxoll <jnuxoll@corp.borland.com> wrote:

>Yes, true...  I just assume everyone has the PRO version (silly me). 

Nah, didn't want to spend that much money just to play with Java.

>You'll have to 'roll-your-own' then.  Create a simple function that
>takes a float and returns a String.  Analyze the float object and
>construct the String character by character...
>
>public String displayFloat(float f, int decimals) {
>  ... should be pretty simple ...
>}
>
> - Joe Nuxoll

Cheers.

-- 
Angus M. Fraser
afraser@btinternet.com
Technical Details
Message-ID: <34562a7d.6461801@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3451136b.2656780@forums.borland.com> <34511626.948766A3@corp.borland.com> <3454fc25.6194677@forums.borland.com> <34554581.F392BF51@corp.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,b10a81d316bd276b
X-Google-Attributes: gidf74b3,public
From: afraser@btinternet.com (Angus M. Fraser)
Subject: Re: Formatting float output
Date: 1997/10/29
Message-ID: <34562a7d.6461801@forums.borland.com>
X-Deja-AN: 285841781
References: <3451136b.2656780@forums.borland.com> <34511626.948766A3@corp.borland.com> <3454fc25.6194677@forums.borland.com> <34554581.F392BF51@corp.borland.com>
Reply-To: afraser@btinternet.com
Organization: None
Newsgroups: borland.public.jbuilder.java.language