Sorry, very tried, they all need to be doubles xD.
Type: Posts; User: Scotty
Sorry, very tried, they all need to be doubles xD.
int newReading = 600;
int ReadingA = 780;
int ReadingB = 260;
double FinReading = ((newReading-ReadingB)/(ReadingA-ReadingB))*100;
System.out.print(FinReading);