AnsweredAssumed Answered

sprintf with float specifier - how to make it work?

Question asked by Bill Sousan on Jun 15, 2016
Latest reply on Jun 15, 2016 by Bill Sousan

I'm using KDS 3.2.0 with the MKE02Z64VLC4 processor and need to use the sprintf/snprintf functions with the float specifier %f.  However, it will not work.  It shows nothing.  I some other posts that have work-around suggestions and various things to try.  I just want to know what is the correct/recommended way of enabling sprintf/snprintf to use floating point data types for the format specifier.

 

Thanks,

Bill

Outcomes