We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c26660 commit a8fddb1Copy full SHA for a8fddb1
hardware/arduino/avr/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;
+}
hardware/arduino/avr/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