decimalformat « float « Java Data Type Q&A





1. DecimalFormat WITHOUT scientific notation    stackoverflow.com

I have a DecimalFormat like this:

DecimalFormat df = new DecimalFormat("#,###.###");
Then I have 3 methods which just return a float value for time, potential and current, with many decimals in case of ...