🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: searching for numeric Edit Field

#14672
From: Rich Wilkman
Date: Thu, 12 Aug 1999 00:00
36 lines
1731 bytes
Matze:

That's a little too vague to run with.  Generally you would make
different constructors for each of those types and do the magic to the
type you need in the object.  Or, you could have an empty constructor
and a set of setValue() methods for the object.

For the second part, stare at the vast array of static methods off of
the the Float and Double objects.  You can get from String to there and
from there to the primitive float and double types.

-Rich

matze wrote:
> 
> Does anyone know a bean component that takes integer,float and double
> values?
> Or could anyone tell me how to convert the String values from a TextField
> into float and double......?
> 
> matze

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Quality Assurance Manager
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <37B2E23D.499FEE91@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7ou73b$el916@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,ff11b0f1251139dd
X-Google-Attributes: gidf74b3,public
From: Rich Wilkman <rwilkman@inprise.com>
Subject: Re: searching for numeric Edit Field
Date: 1999/08/12
Message-ID: <37B2E23D.499FEE91@inprise.com>
X-Deja-AN: 511875934
Content-Transfer-Encoding: 7bit
References: <7ou73b$el916@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language