Categories
The FBI News Review

How to make 0 display as 0.00 using decimal format?

I am using the following code to make numbers display with two decimal places and thousands comma separator. public static String formatNumber(double amount){ DecimalFormat formatter = new