floating point calculation

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
        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   
0 Likes
1 Reply