london
Member level 4
C code
Dear All,
This is my requirment,
float mV=0.0;
mV=(Count+23.484)/27.222;
result of mV will be xxxx.xxxxx
but finally i need the mV value in a integer means, xxxx only.
How can i get this. what is the another C code function i have to write to convert float to int value. if any body know help me!
Dear All,
This is my requirment,
float mV=0.0;
mV=(Count+23.484)/27.222;
result of mV will be xxxx.xxxxx
but finally i need the mV value in a integer means, xxxx only.
How can i get this. what is the another C code function i have to write to convert float to int value. if any body know help me!