Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CCS/LAUNCHXL-F28379D: Unable to printf floating point numbers ????

$
0
0

Part Number: LAUNCHXL-F28379D

Tool/software: Code Composer Studio

I am trying to print floating point numbers through a SCI on a terminal.

Since printf for CCS does not work for floating point numbers what is the next best thing to do?

I am using integer math with an implied decimal where a value of 10000 is considered to be 100.00.

I am using printf with int16's and all I want to do is have a fixed decimal point when I print to the terminal.

I am stunned that the printf implementation used in CCS does not follow the basic C standard for this function

I would love to hear what others are doing to get around this limitation.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>