🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

converting from Text to Double or Int

#19653
From: Allan Bressler
Date: Fri, 09 Jan 1998 00:00
12 lines
858 bytes
Hi,

I'm trying to convert text entered in a TextField to an integer so that
I can use that value to look up an index in an array.  I also need to
convert some other text in a TextField to a Double to do some
calculations with it.  I can't find the command to do this (if there is
one).  I'm new at this so please be as specific as possible.

Thanks in advance.

Allan
Technical Details
Message-ID: <34B67EE3.51CEE19@earthlink.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,95acace74d11f1d5,start
X-Google-Attributes: gidf74b3,public
From: Allan Bressler <abressler@earthlink.net>
Subject: converting from Text to Double or Int
Date: 1998/01/09
Message-ID: <34B67EE3.51CEE19@earthlink.net>
X-Deja-AN: 314404355
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: None
Newsgroups: borland.public.jbuilder.java.language