Closed michi42 closed 1 year ago
Hi Michi, thanks for the new classes! Not sure if I understood everything correctly ... so as usual: Just consider my comments as ideas, not as 'have to change' ;-)
Thanks a lot for the review, very good points!
Looks good ! :+1:
A variant of DecimalFormat that tries to be a bit smarter and mimics the format style "%g" (general, spec):
The threshold (both low and high) for switching to scientific format are configurable. There is a default constructor that tries to provide a compromise for "common" cases (exponential if >= 1e6 or <= 1e-4).