We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a35b55 commit 94d6f56Copy full SHA for 94d6f56
cores/arduino/Print.cpp
@@ -245,7 +245,7 @@ size_t Print::printFloat(double number, uint8_t digits)
245
while (digits-- > 0)
246
{
247
remainder *= 10.0;
248
- int toPrint = int(remainder);
+ unsigned int toPrint = (unsigned int)remainder;
249
n += print(toPrint);
250
remainder -= toPrint;
251
}
0 commit comments