AnsweredAssumed Answered

What is the benefit of storing integer value over float value?

Question asked by Amit Kumar on Sep 8, 2014
Latest reply on Sep 9, 2014 by Kenny Koller

Hi

I am storing some data on a SD card. I am facing problem in storing float values as FATFs doesn't support floating point. Although I tried storing it in an array and printing on the SD card but it didn't worked. Is there any way of storing this in SD card without changing its data type to int? I cant use string as the data size will increase if I do so. I was wondering what are the benefit of using integer (multiply the floating point with 10^6 and change it to int) over floating point numbers.?

 

fps.jpg

 

Kind Regards

Amit Kumar

Outcomes