🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JBUILDER2 ==>> how to convert integer to string???

#16385
From: Tom Heagy
Date: Thu, 25 Feb 1999 00:00
14 lines
929 bytes
//You can use a shortcut (probably not the most efficient means) as
follows:
int iCnt = 33;
String sCnt = iCnt + "";
// The concatination does an automatic conversion.

PK wrote:

> Hello,
>
> i defined an integer and i want to convert it to a string.
> It doesn"t work!
>
> Can anybody post me a source-code which can help me in this issue?
Technical Details
Message-ID: <36D55866.62773CE9@sciatl.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <36D53B18.1CED204A@ccs.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,1568a9433d0fd22c
X-Google-Attributes: gidf74b3,public
From: Tom Heagy <tom.heagy@sciatl.com>
Subject: Re: JBUILDER2 ==>> how to convert integer to string???
Date: 1999/02/25
Message-ID: <36D55866.62773CE9@sciatl.com>
X-Deja-AN: 448307656
Content-Transfer-Encoding: 7bit
References: <36D53B18.1CED204A@ccs.de>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language