I have problems to convert "String to Float"

Dear all,

I'm trying to covert a String to Float, but Float only returns two decimals after point and I need to read all decimals from my String for other operations.

Example part of code:

String chain = "86.28673";

float digits = chain.toFloat ();

Serial.print (digits); // Float returns only two decimals 86.29 and it should be 86.28673;

Serial.print (digits, 5);