aboutsummaryrefslogtreecommitdiff
path: root/cores/robot/WString.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-06-21 21:23:12 +0200
committerFederico Fissore <f.fissore@arduino.cc>2013-06-26 16:04:15 +0200
commitf07c6f2a52af85a63e9e4ebb98d4673b4183287a (patch)
treefae9fa99088155d956b9c408d02b13f547007dea /cores/robot/WString.h
parent85b4bb185de92325dbd9c76255c040bd32bbbebc (diff)
String: changed default to 2 decimal digits
Diffstat (limited to 'cores/robot/WString.h')
-rw-r--r--cores/robot/WString.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/robot/WString.h b/cores/robot/WString.h
index 4b9e64e..0404f76 100644
--- a/cores/robot/WString.h
+++ b/cores/robot/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