*
The moose likes Beginning Java and the fly likes read value from another function Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "read value from another function" Watch "read value from another function" New topic
Author

read value from another function

Georgia Matheou
Greenhorn

Joined: May 28, 2008
Posts: 9
Hi,

I have a from that takes two numbers.
I want to read this numbers and then pass this values to a function



and i have in a java class the funtions


Can you help please

Thanks,
Geo
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60748
    
  65

You'll need to parse the string values into their respective integer values. Check out the Integer.parseInt() method for this purpose.
[ June 09, 2008: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: read value from another function
 
Similar Threads
Typedef
Sorting an array list into numerical order - help please!!
anonumous arrays?
Basic class design
How to access connection object in user defined function inside a servlet