Formate numbers

one value ( size or positive) shall be in double formate

System.out.println(String.format("%.6f", positive/size));     
System.out.println(String.format("%.6f", negative/size));     
System.out.println(String.format("%.6f", zero/size));     

Last updated