Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- second_amount = Double.parseDouble(second.getText().toString());
- first_amount = Double.parseDouble(first.getText().toString());
- result = first_amount * second_amount;
- second.setText("" + df.format(result));
- second_amount = Double.parseDouble();
- bdf = new BigDecimal(second.getText().toString());
- //first_amount = Double.parseDouble(first.getText().toString());
- bds = new BigDecimal(second.getText().toString());
- BigDecimal bdr = bdf.multiply(bds);
- //result = first_amount * second_amount;
- second.setText("" + bdr);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement