Hey I am trying to convert string text boxes so i can multiply two variables and the display it in a third text box. My text boxes are txtTotalPre and i am trying to multiply this number by 1 and then display it in txtTotal.
String number = txtSub.getText();
String.valueOf(number);
int price = 1;
txtTotal.setText(number * price);