I can achieve the following using DecimalFormat("0000.00000000");
, e.g.
0000.00000028
0001.23450000
1234.56000012
0314.15000000
But can I achieve the following?
0.00000028
1.23450000
1234.56000012
314.15000000
I want to basically centre everything about the decimal point. I tried a few combinations but could not find a solution. On the other hand, I am aware of String.format
.