aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/WString.h
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/WString.h')
-rw-r--r--cores/arduino/WString.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/WString.h b/cores/arduino/WString.h
index 44a8419..b3b9f14 100644
--- a/cores/arduino/WString.h
+++ b/cores/arduino/WString.h
@@ -69,8 +69,8 @@ public:
explicit String(unsigned int, unsigned char base=10);
explicit String(long, unsigned char base=10);
explicit String(unsigned long, unsigned char base=10);
- explicit String(float, int decimalPlaces=6);
- explicit String(double, int decimalPlaces=6);
+ explicit String(float, int decimalPlaces=2);
+ explicit String(double, int decimalPlaces=2);
~String(void);
// memory management