From f07c6f2a52af85a63e9e4ebb98d4673b4183287a Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Fri, 21 Jun 2013 21:23:12 +0200 Subject: String: changed default to 2 decimal digits --- cores/robot/WString.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cores/robot/WString.h') 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 -- cgit v1.2.3-18-g5258