KSDK bug with float?

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

KSDK bug with float?

1,634 次查看
armaram
Contributor III

Is there a bug in float display/ compute in ksdk1.3 or am I missing something? I randomly keep getting an additional 1 while displaying floating point numbers lower than 1. Please see attached screen shot.

标记 (2)
0 项奖励
回复
1 回复

1,465 次查看
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Arvind,

Do you use the console or RS232 to display the float number?  If you use Rs232, i think you can use sprintf() function to convert the float to string, then display the string.

do you use KDS tools?

Hope it can help you

BR

XiangJun Rong

0 项奖励
回复