Double amount = 100;
DecimalFormat dcmFmt = new DecimalFormat("0.0000"); String amountStr = dcmFmt.format(amount)