Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Generic / String / String.h
diff options
context:
space:
mode:
1 files changed, 4 insertions, 0 deletions
-rw-r--r--src/Generic/String/String.h4
diff --git a/src/Generic/String/String.h b/src/Generic/String/String.h
index 84fbe9c..f30151a 100644
--- a/src/Generic/String/String.h
+++ b/src/Generic/String/String.h
@@ -8,6 +8,8 @@
#include <istream>
#include <ostream>
+#define DOUBLE_PRECISION 1e10
+
class String {
char* str;
unsigned length;
@@ -31,6 +33,8 @@ public:
String& operator+=(const char* str);
//! Appends a number
String& operator+=(unsigned number);
+ //! Appends a number
+ String& operator+=(double number);
String();
String(const String& other);