Here is my simple code
@Override public void onClick(View v) { try { double price = Double.parseDouble(ePrice.getText().toStr
Check answer here. You can write
moneyToGet.setText(String.format("%.0f", priceValue));