[求助]十万火急
#include<stdio.h>
main()
{
float a=12345.678;
int b=12345;
printf("/n12345678901234567890");
printf("/n%20.10f:a1",a);
printf("/n%2.2f:a2",a);
printf("/n%10d:b1",b);
printf("/n%2d:b2",);
}
结果
12345678901234567890(标尺)
12345.6777343750:a1(总宽20,小数部分10)为什么小数是6777343750,怎么算的
12345.68:a2
12345:b1
12345:b2
谢谢