Also, I'm using double precision floating point numbers (double), so that I can have numbers after the decimal point displayed, but I don't know how to make it so that the amount of numbers displayed after the point is limited to the amount there are (eg. not '1.0' or '2.542000').
Code: Select all
double num=0;
Code: Select all
PA_OutputText(1, 0, 0,"%f0",num);
Thanks.