AnsweredAssumed Answered

sprintf with float specifier - how to make it work?

Question asked by Bill Sousan on Jun 15, 2016
Latest reply on Jul 27, 2020 by William Carlisle

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