Printing floating number

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Printing floating number

2,033件の閲覧回数
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 件の賞賛
返信
1 返信

2,029件の閲覧回数
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 件の賞賛
返信