Closed matinzk closed 10 years ago
I have an issue where by I need the values to be retrieved as double/float with 1 or 2 decimal places.
For example MAF (Mass Air Flow) needs to have at least 1 decimal place, but I always receive it as integer or a whole number.
I understand that some of the functions are returning values as 'int', but is there a way to resolve this?
Thanks.
Arduino doesn't use decimal places I believe.
I managed to sort this out.
I have an issue where by I need the values to be retrieved as double/float with 1 or 2 decimal places.
For example MAF (Mass Air Flow) needs to have at least 1 decimal place, but I always receive it as integer or a whole number.
I understand that some of the functions are returning values as 'int', but is there a way to resolve this?
Thanks.