my dog learned polymorphism
The moose likes Cattle Drive and the fly likes String Conversion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "String Conversion" Watch "String Conversion" New topic

String Conversion


Joined: Oct 09, 2002
Posts: 3
How do I convert a String input from a text field to a Double variable to make calculations
Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9058
Check the API for the Double class for a method that will do this.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
I agree. Here's the link:
subject: String Conversion
jQuery in Action, 3rd edition