public class Try2 {
public static void main(String [] args){
double t = 12;
System.out.printf("the number is: %12d",1200);
System.out.println();
System.out.printf("the number is: %12d",t);
System.out.println();
System.out.printf("the number is: %12d",12);
//System.out.println(120);
}}上面这段代码中,老是有异常说“d != java.lang.Double”
 这是怎么回事?