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.
2 parents ae93178 + ea70556 commit a8d8147Copy full SHA for a8d8147
hardware/arduino/avr/cores/arduino/WString.cpp
@@ -325,14 +325,14 @@ unsigned char String::concat(unsigned long num)
325
unsigned char String::concat(float num)
326
{
327
char buf[20];
328
- char* string = dtostrf(num, 8, 2, buf);
+ char* string = dtostrf(num, 4, 2, buf);
329
return concat(string, strlen(string));
330
}
331
332
unsigned char String::concat(double num)
333
334
335
336
337
338
0 commit comments