how to round up to 2 decimals in android code example Example: android round double to 2 decimal String.format("%.2f", d)