I have already tried setting the EditText default value to be zero but when it comes to editing and erase as \"\" ( empty space , no more wordings _ in the Edit Text field <
try
if(monthlyTest == null || monthlyTest.trim().equals("")){
You could also use
if(monthlyTest == null || monthlyTest.trim().isEmpty()){