summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'segget/str.cpp')
-rw-r--r--segget/str.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/segget/str.cpp b/segget/str.cpp
index 592e0cd..e7b974e 100644
--- a/segget/str.cpp
+++ b/segget/str.cpp
@@ -51,6 +51,11 @@ string toString(bool t){
s << t;
return s.str();
}
+string toString(double t){
+ stringstream s;
+ s << t;
+ return s.str();
+}
/*
template<typename T> string toString(T t){
stringstream s;