Printing floating number

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Printing floating number

2,055 次查看
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,051 次查看
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 项奖励
回复