Article View: borland.public.jbuilder.java.language
Article #15205Re: Stupid question ?
From: flashback
Date: Mon, 05 Jul 1999 00:00
Date: Mon, 05 Jul 1999 00:00
29 lines
1157 bytes
1157 bytes
howdy ofir, there's no such thing like a "stupid" qeustion.... Ofir Amitai wrote: > > Hi > > How do I convert a string (from editbox) to integer ? > myInt = (new Integer(editBox.getText())).intValue(); but be careful: in this snipplet you've not check if the string contains a vaild numeric value (!) -- regards gregor the best is yet to come... http://gregor.url4life.com <meta name="keywords" content="java,db2,c,corba,uml,ooa,ood,os390,cobol,cologne,canada,malaysia"> icq-# 14100227 public key available at pgp.ai.mit.edu
Technical Details
Message-ID:
<3780922F.4152CF3C@netcologne.de>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7lpv9p$9vp1@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,f247bc54ff2cbd75 X-Google-Attributes: gidf74b3,public From: flashback <flashback@netcologne.de> Subject: Re: Stupid question ? Date: 1999/07/05 Message-ID: <3780922F.4152CF3C@netcologne.de> X-Deja-AN: 497333994 Content-Transfer-Encoding: 7bit References: <7lpv9p$9vp1@forums.borland.com> X-Accept-Language: en,de Content-Type: text/plain; charset=us-ascii Organization: Another Netscape Collabra Server User Mime-Version: 1.0 Reply-To: flashback@netcologne.de Newsgroups: borland.public.jbuilder.java.language