We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d459d0 commit 0faf83aCopy full SHA for 0faf83a
cores/arduino/WString.cpp
@@ -747,6 +747,6 @@ float String::toFloat(void) const
747
748
double String::toDouble(void) const
749
{
750
- if (buffer) return atof(buffer);
751
- return 0;
752
-}
+ 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