🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to avoid scientific notation in Double.ToString?

#19946
From: Ron Cain
Date: Fri, 14 Nov 1997 00:00
13 lines
935 bytes
You might study the java.text.DecimalFormat class.  It is the one we use
for much of JBuilder's formatting, and it provides a more flexible
formatting interface than toString().  It's also internationalizable if
you want to deal with alternate locales.

... ron

Jim Mueller wrote:
> 
> Double.ToString converts the number 1000004 normally, but turns 1000005 and
> higher into scientific notation.   Has anyone found an easy way to get
> ToString to handle larger numbers?
Technical Details
Message-ID: <346CD46C.12C2@wpo.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bcf0ed$a683c460$0100a8c0@ntas>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,937156be41e80934
X-Google-Attributes: gidf74b3,public
From: Ron Cain <rcain@wpo.borland.com>
Subject: Re: How to avoid scientific notation in Double.ToString?
Date: 1997/11/14
Message-ID: <346CD46C.12C2@wpo.borland.com>
X-Deja-AN: 289613848
References: <01bcf0ed$a683c460$0100a8c0@ntas>
Organization: Borland International
Newsgroups: borland.public.jbuilder.java.language