2 Replies Latest reply on May 30, 2017 8:03 AM by ferhatyol_2020106

    Floating Point Variables sprintf Problem

    ferhatyol_2020106

      Hi

         

      I need to use sprintf function with float numbers. But it does not work. 

         
          

               val=1.2243;
              sprintf(text,"Value=%f",(float)val);

          

              LCD_Position(0u,0u);
              LCD_PrintString(text);

         
         

      Is there a setting in this regard?