double parsedouble 2 decimal places code example Example: android java convert double to 2 decimal places String stringDecimal = String.format("%.2f, d");