This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Issue: with printf() for floats/doubles not working

Hi,
   
      I am trying to print double/float values, but Its printing blank.

      e.g. printk(" value:%.3f\n", value);
          output: value:%.3f

      printk(" value:%lf\n", value);
          output: value:%f


 I referred one of the solutions from "">devzone.nordicsemi.com/.../printf-for-floats-does-give-blanks-not-printing-floats" on the same query. But no luck.   


NOTE: I am using "west build" from command line to build the applications on Windows 10 (Power shell)

           Please let me know, how can I proceed further to enable the Float/double support for my project.
 

Thank you.

Parents Reply Children
No Data
Related