Proposed update for the printFloat code of print.cpp

@seradu
You might need to stop all instances of the IDE before the new version is used.

robtillaart:
Checked compatibility with IDE 1.8.5 ==> OK

I see that this topic is still there and the standard printFloat is not yet (after 7 years!) supporting exponential notation.
Anyway, I tried your code posted in replay #17 with the example posted in replay #10, and I get the error:
'SCI' was not declared in this scope
If I use the definition suggested in replay #2, I get the error:
no matching function for call to 'HardwareSerial::println(float&, int, int)'
Where is the trick?
I’m using IDE 1.8.12 and I tested the code on an Arduino Uno.
Thank you for your suggestions