Problem using MENWIZ menu-how to show data in deimal instead of integer at LCD?

Hi, this is my code.

 void msc(){
  static  char buf[7];
  strcpy(menu.sbuf,"Temp:"); 
  strcat(menu.sbuf,itoa((int)(SHT2x.GetTemperature()),buf,10));
   strcat(menu.sbuf,"\nMoisture:"); //1st lcd line
  strcat(menu.sbuf,itoa((int)(SHT2x.GetHumidity()),buf,10));
  strcat(menu.sbuf,"\n"); 
  menu.drawUsrScreen(menu.sbuf);
}

The code is part of MENWIZ's menu, it's the function of "User default screen ". As show at idle time. In my project, it shows temperature and moisture at LCD. My problem is how to show data in deimal instead of integer? Have other code instead of "itoa()"? Thank you.

My problem is how to show data in deimal instead of integer?

There is NO decimal type. Make it clear what you want.

I'll assume that you really mean float. The key is to NOT is itoa() to convert an integer to a string. Use dtostrf().