Article View: borland.public.jbuilder.java.language
Article #15038StrToInt function?
From: Dave Hatzenbuehler
Date: Tue, 13 Jul 1999 00:00
Date: Tue, 13 Jul 1999 00:00
12 lines
882 bytes
882 bytes
I am looking for a way to convert a string to an integer value. I have the following line of code: String cStr = 'abc'; int nNum = Integer.valueOf( cStr ).intValue. I keep getting "intValue not found in java.lang.Integer." I have import java.lang.Integer and I still get this error. Can someone please point me in the right directin. Thanks, Dave Hatz
Technical Details
Message-ID:
<378B674D.8818D1F6@insynclh.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,ecbec2f1a10fd049,start X-Google-Attributes: gidf74b3,public From: Dave Hatzenbuehler <daveh@insynclh.com> Subject: StrToInt function? Date: 1999/07/13 Message-ID: <378B674D.8818D1F6@insynclh.com> X-Deja-AN: 500563281 Content-Transfer-Encoding: 7bit Organization: Another Netscape Collabra Server User X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language