SyntaxFix
Write A Post
Hire A Developer
Questions
You should covert String to float. It is working.
float result = 0; if (TextUtils.isEmpty(et.getText().toString()) { return; } result = Float.parseFloat(et.getText().toString()); tv.setText(result);