6 lines
172 B
Java
6 lines
172 B
Java
public class Printing{
|
|
public static void main(String[] args){
|
|
double printer = 7.125;
|
|
System.out.printf("%09.3f",printer);//System.out.format works the same way
|
|
}
|
|
}
|