Calculating Unknown Resistor with Arduino

I assumed you were just meaning as I was reading the analog value. Not the entire program, nor did you explain why it was a bad idea. Plus, as I stated above, I'm not having an issue with floating point precision, so I didn't think about it the implications of using floating points then. Tbh, it's not a priority of mine to change to use integers wherever possible at this time. Floating point precision isn't causing issues as seen between the readings on the Arduino and the fluke :confused: