I have started working with C language recently. I have one simple problem
Unsigned int a;
float b;
a=8000;
b=(((((float)a)/65535)-1)/0.245); // b= ((a/65535)-1)/0.245;
printf("value:%f \r\n", b);
I don't know what is the problem in the above formula but I am not able to print "b" value. I will get "b value as negative". how to print "b value"?