1 Reply Latest reply on Apr 7, 2010 5:34 PM by yfs

    floating point calculation

    lung-hwa.hsieh
              When I try to do some floating point calculation in main.c under PSOC Creator, the results are not right. For example,   
      float x;   
      x=1.0/3.0;   
         
         
         
      Would someone please tell me how to do the floating point calculation?   
         
      Thanks,   
      Will