🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#16362
From: Nukool Taveesak
Date: Thu, 04 Mar 1999 00:00
19 lines
1010 bytes
Hi PK
   The way to convert int to string
   let say you have
  int myint1 = 3;
  String  str1;
  //  inherite class of Integer with parameter int
 Integer myint2 = new Integer(myint1);
 //  Covert to string
str1 = myint2.toString();


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: <36DD7DDF.E836DAB1@hotmail.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: Nukool Taveesak <n_taveesak@hotmail.com>
Subject: Re: JBUILDER2 ==>> how to convert integer to string???
Date: 1999/03/04
Message-ID: <36DD7DDF.E836DAB1@hotmail.com>
X-Deja-AN: 450441610
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