๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2743

Re: Float To String

#2743
From: pwnichols
Date: Sun, 14 May 2000 00:00
12 lines
927 bytes
Easiest way??

String myString;
myString=""+YourFloatVariableName;

David Br๏ฟฝnnvall <david@strangnas.mail.telia.com> wrote in message
news:391eee44@dnews...
> How can i do to convert a floatinpoint value to a string with x decimals
>
> regards David
>
>
Technical Details
Message-ID: <LlDT4.6686$45.74666@news1.rdc1.tn.home.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <391eee44@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1089d0,e40951737ddcfe99
X-Google-Attributes: gid1089d0,public
From: "pwnichols" <pwnichols@home.com>
Subject: Re: Float To String
Date: 2000/05/14
Message-ID: <LlDT4.6686$45.74666@news1.rdc1.tn.home.com>
X-Deja-AN: 623341641
References: <391eee44@dnews>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.tn.home.com 958333419 24.2.19.74 (Sun, 14 May 2000 12:43:39 PDT)
Organization: @Home Network
X-MSMail-Priority: Normal
NNTP-Posting-Date: Sun, 14 May 2000 12:43:39 PDT
Newsgroups: borland.public.jbuilder.java.api