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 b74a02c commit 54c0b61Copy full SHA for 54c0b61
cores/arduino/WString.cpp
@@ -745,6 +745,6 @@ float String::toFloat(void) const
745
746
double String::toDouble(void) const
747
{
748
- if (buffer) return atof(buffer);
749
- return 0;
750
-}
+ if (buffer) return atof(buffer);
+ return 0;
+}
cores/arduino/WString.h
@@ -190,7 +190,7 @@ class String
190
// parsing/conversion
191
long toInt(void) const;
192
float toFloat(void) const;
193
- double toDouble(void) const;
+ double toDouble(void) const;
194
195
protected:
196
char *buffer; // the actual char array
0 commit comments