This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

type conversion

i have the followin program
float a;
long int c;
float b;

now i haave an expression
a = b- c*0.05

however when i run this expression in simulator the values are correct...however in the machine it gives me some other garbage value...

realtime values are
c = 102929
b= 457461

expected value of a = 452314.6
found value of a = 1358481
wat cld be the problem..

0