Hi,
Im getting this error message on IAR regarding converting integer values to a float result
The compiler keeps on giving the same error; Error[Pe029]: expected an expression
Result is defined as a float
Rterm is #define Rterm = 1000;
Result=(float))(((float)(Top-Middle)))/((float)(Middle-Bottom)*Rterm);
Any ideas guys