🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do you convert an integer to a string?

#7346
From: dnoyeB
Date: Wed, 27 Jun 2001 18:54
16 lines
1205 bytes
String str = Integer.toString(x);



"Tobias Kretschmar" <to-bik@t-online.de> wrote in message
news:v66dh9.lpb.ln@hecker.oderwitz.de...
> Calvin R. Smith wrote:
>
> > do this
> > String s = "06";
> > int i = (new Integer(s)).intValue();
>
> or
>   int i = Integer.parseInt("06");
>
> Tobias
Technical Details
Message-ID: <3b3a2cf5$1_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3b3a02b6_2@dnews> <3b3a0345$1_1@dnews> <v66dh9.lpb.ln@hecker.oderwitz.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,55667c966d6ea9fa
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-06-27 12:10:29 PST
From: "dnoyeB" <lamont_gilbert @ rigidsoftware.com>
Newsgroups: borland.public.jbuilder.java.language
References: <3b3a02b6_2@dnews> <3b3a0345$1_1@dnews> <v66dh9.lpb.ln@hecker.oderwitz.de>
Subject: Re: How do you convert an integer to a string?
Date: Wed, 27 Jun 2001 14:54:52 -0400
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 63.68.196.49
Message-ID: <3b3a2cf5$1_1@dnews>
X-Trace: dnews 993668341 63.68.196.49 (27 Jun 2001 11:59:01 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews