2021-09-28 10:20 AM
I am using Sprintf, but I cant see the number in UART
LPS22HH_pressure=LPS22HH_GetPressure();
sprintf(result,"%4.2f", LPS22HH_pressure); // @suppress("Float formatting support")
I have also tried %g
Solved! Go to Solution.
2021-09-28 11:37 AM
Enable float support for printf in project settings.
2021-09-28 11:37 AM
Enable float support for printf in project settings.
2023-07-15 02:14 AM
i enabled this but all 000 got printed after decimal point
what should i do