Java :String.format() to format double in Java(5solution)

Published --