DivyaKrishnappa
Newbie level 6
Hi..
Gain = 0.506585(Float value)
Avalue = 00001120(unsigned long value)
Bvalue = 0000096A(unsigned long value)
Result(unsigned long value)
My equation is
Result = Gain * (Avalue - Bvalue)
How to write the program for this equation in C..? I know this is very simple.. Though I am facing problem in it.. Help me to solve this..?
Gain = 0.506585(Float value)
Avalue = 00001120(unsigned long value)
Bvalue = 0000096A(unsigned long value)
Result(unsigned long value)
My equation is
Result = Gain * (Avalue - Bvalue)
How to write the program for this equation in C..? I know this is very simple.. Though I am facing problem in it.. Help me to solve this..?