Printing floating number

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Printing floating number

2,032 Views
raduansarif
Contributor I

Hello, I am using MKL27Z256LH4 MCU  with MCUXpresso IDE_v11.4.1. in PRINTF I can get only decimals but I can not print floating numbers. How to print the floating number??

 

Thank You

Raduan

0 Kudos
Reply
1 Reply

2,028 Views
ErichStyger
Specialist I

ErichStyger_0-1654085700673.pngErichStyger_0-1654085700673.png

For some background: https://mcuoneclipse.com/2014/07/11/printf-and-scanf-with-gnu-arm-libraries/

 

I hope this helps

Erich

 

0 Kudos
Reply