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 1884d1d commit 05be7ceCopy full SHA for 05be7ce
hardware/arduino/sam/cores/arduino/Print.cpp
@@ -249,7 +249,7 @@ size_t Print::printFloat(double number, uint8_t digits)
249
while (digits-- > 0)
250
{
251
remainder *= 10.0;
252
- int toPrint = int(remainder);
+ unsigned int toPrint = (unsigned int)remainder;
253
n += print(toPrint);
254
remainder -= toPrint;
255
}
0 commit comments