Fill double zero to the left in java

0

I would like to know how do I format a double with two boxes to the left of the dot and two to the right of the dot.

Example: I have double 1.1

I want it to be formatted for 01.10;

entry: 10.1 / 1.05

Output: 10.01 / 01.05

    
asked by anonymous 29.04.2016 / 21:17

0 answers