• Post Reply Bookmark Topic Watch Topic
  • New Topic

converting text to a double  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to the user to enter numbers in a textbox, the number is a variable. How do you the doubleValue() to do this?
I want to convert celsius to fehranheit.
 
deekasha gunwant
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Brent,
U should use
Double.parseDouble(textfield.getText());
regards
Deekasha
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!