DivyaKrishnappa
Newbie level 6
- Joined
- Apr 23, 2014
- Messages
- 14
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 103
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..?