How to print float value and units in single text area
Hi,
I'm looking to print value as "32.45 degC" or "90.41 degF"(based on other function output to print degC or deg F) in textArea2 but not able to print using Unicode::snprintfFloat. Can you please help me in printing float value and its units in textarea2.
If the value is in decimal, I'm able to print using below logic and print the output as 32 degC or 90 degF:
Unicode::snprintf(textArea2Buffer,TEXTAREA2_SIZE,"%d %s",tempValue, tempUnit);
Thanks ,
Bhavya
