Serial.print for floating numbers

brice3010:
For some strange reason

Serial.println(current, 3);

returns all 0.000 (I use linebreak here, it is the last to be printed on the line). No float number. What did I do wrong?

Sounds like a mistake in your sketch or you analog input is always 516. Show the sketch exactly as you are using it. Copy and paste the serial output, exactly as it appears to you.