Hi,
I think I have come across a bug in Print.cpp in the printFloat method. When printing float values the size returned only seems to include the digits before the decimal point. The (default) two digits after the decimal point, and the decimal point itself is not counted. For instance printing the float 123.45 returns a size of 3, not 6!
I have tried this on the teensy 3.1 using Teensyduino V1.19
Regards,
Johan
I think I have come across a bug in Print.cpp in the printFloat method. When printing float values the size returned only seems to include the digits before the decimal point. The (default) two digits after the decimal point, and the decimal point itself is not counted. For instance printing the float 123.45 returns a size of 3, not 6!
I have tried this on the teensy 3.1 using Teensyduino V1.19
Regards,
Johan