Article View: borland.public.jbuilder.java.api
Article #3135Re: how to convert string to integer??
From: Sean C. Sheridan
Date: Mon, 18 May 1998 00:00
Date: Mon, 18 May 1998 00:00
31 lines
1057 bytes
1057 bytes
Scott,
String s = "1";
int num = Integer.valueOf(s).intValue();
Sean C. Sheridan
U. Pennsylvania
-----
Jennifer Merkel wrote:
>
> There is a code example of this posted in the java.langauge newsgroup. I
> think was posted around 5/11.
>
> Jennifer
>
> Scott Garrison wrote:
>
> > how to convert string to integer?? integer to string easy enough.
> >
> > stupid question but Jbuilder Doc SUCKS!
> >
> > thx
Technical Details
Message-ID:
<35607040.7EEBCF25@seas.upenn.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<355B0425.6DD20343@mindspring.com> <355C36DA.B9CBC476@edmundsassoc.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,733133ccd186a4c8 X-Google-Attributes: gid1089d0,public From: "Sean C. Sheridan" <seanc@seas.upenn.edu> Subject: Re: how to convert string to integer?? Date: 1998/05/18 Message-ID: <35607040.7EEBCF25@seas.upenn.edu> X-Deja-AN: 354310343 Content-Transfer-Encoding: 7bit References: <355B0425.6DD20343@mindspring.com> <355C36DA.B9CBC476@edmundsassoc.com> Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api