In my program I want print or save in file some variables.
When I program this above,it does not work.
printf ("Variable= %f", i);
Then, I need to program this:
i=i-(j*1000); //the operator % does not work.
printf ("Variable= %d.%d",j,i); //It work!
This situation occurs in printf and sprintf.
Anyone can solve it?