This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

double is not shown in right way in System_printf

Hi,

I want to printf a double in with   System_printf().

I done:

add the line 

System.extendedFormats = '%$L%$S%$F%f';

to the .cfg file, and use 

System_printf("%f \n", testD);


to ptint my variable. 

Theproblem is, that in the CCS I see the right value of testD (0.03xxxx) but by printf I see something like 1.43xxxx an it is wrong. 

Can be that System_printf can not work with double, but only with float?