Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. public void StringToDouble(){
  2. System.out.println("StringToDouble Method: Entered;");
  3. double amountToConvertValue= Double.parseDouble(amountToConvertTextArea.getText());
  4. double exchangeRateValue= Double.parseDouble(exchangeRateTextArea.getText());
  5. System.out.println("amountToConvertValue: " + amountToConvertValue);
  6. System.out.println("exchangeRateValue: " + exchangeRateValue);
  7. // finalResult = (amountToConvertValue * exchangeRateValue) / convertedAmount;
  8. // System.out.println(finalResult);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement