🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: converting from Text to Double or Int

#19598
From: Greg Dickson
Date: Tue, 13 Jan 1998 00:00
12 lines
930 bytes
you could try

Double.valueOf(textField1.getText());

Greg Dickson

Allan Bressler wrote in message <34BA454D.92891088@earthlink.net>...
|OK.  That will give me the value, except how do I pass the text to
the
|valueOf( ), because valueOf() is looking for a string type.
|
Technical Details
Message-ID: <69fv05$bc91@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34B67EE3.51CEE19@earthlink.net> <6960od$7bv18@forums.borland.com> <34BA454D.92891088@earthlink.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,95acace74d11f1d5
X-Google-Attributes: gidf74b3,public
From: "Greg Dickson" <witchy@netserv.net.au>
Subject: Re: converting from Text to Double or Int
Date: 1998/01/13
Message-ID: <69fv05$bc91@forums.borland.com>
X-Deja-AN: 315549783
Content-Transfer-Encoding: 7bit
References: <34B67EE3.51CEE19@earthlink.net> <6960od$7bv18@forums.borland.com> <34BA454D.92891088@earthlink.net>
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Organization: None
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language