java flutuar obtém 2 decimais
DecimalFormat df = new DecimalFormat("0.00");
String myFormattedFloat = df.format(myFloat);
GJizss
DecimalFormat df = new DecimalFormat("0.00");
String myFormattedFloat = df.format(myFloat);
total = (double) 100 / listMember.size();
DecimalFormat df = new DecimalFormat("#.##");
String dx = df.format(total);
total = Double.valueOf(dx);