import java.text.DecimalFormat;
String addGold = String.valueOf(new DecimalFormat("0").format(0.85*100));
System.out.print(addGold);//85
String addGold = String.valueOf(new DecimalFormat("0.00").format(0.84*100));
System.out.print(addGold);//85.00