Please help me to view the results of this bmi calculations to two decimal points.
here is my code...
@Override
public void onClick(View v) {
    double weight;
    double height;
    double bmi;
    String msg = "";
    if (field_height.getText().toString().equals("") || field_weight.getText().toString().equals("")){
        Toast.makeText(getApplicationContext(), "No Valid Values!", Toast.LENGTH_LONG);
    }else {
        weight = Double.parseDouble(field_weight.getText().toString());
        height = Double.parseDouble(field_height.getText().toString());
        bmi = height * height;
        bmi = (weight / bmi);
    }
}
 
     
     
    