Quantcast
Channel: MPLAB XC16
Viewing all articles
Browse latest Browse all 1508

SOLVED: sprintf Formatting To Float Using Modulo Not Working (Abraxas)

$
0
0
Another one that has me banging my head against the desk: The following code does not yield the desired 25.0625 , but rather 25.40960000 and I can't figure out why but think it has something to do with the long ints. Any ideas folks ? bytes1and2=0b0000000..

Viewing all articles
Browse latest Browse all 1508

Latest Images

Trending Articles



Latest Images

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