import com.braju.format.*; 

public class Example06 { 
  public static void main(String argv[]) { 
    double d; 

    for(int i=-5; i<=5; i++) { 
      d = 123.45678901234567890 * Math.pow(-10.0,i);
      Format.printf("d=%+016f =% 15.4e =%+15.4G\n", 
             new Parameters(d).add(d).add(d)); 
    } 
  } 
}
