Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellDouble.cpp
diff options
context:
space:
mode:
1 files changed, 8 insertions, 0 deletions
-rw-r--r--src/Models/CellDouble.cpp8
diff --git a/src/Models/CellDouble.cpp b/src/Models/CellDouble.cpp
index 9cb6eea..5c972f2 100644
--- a/src/Models/CellDouble.cpp
+++ b/src/Models/CellDouble.cpp
@@ -1,6 +1,14 @@
#include "CellDouble.h"
#include <cstring>
+CellDouble::CellDouble(int val) {
+ value = val;
+}
+
+double CellDouble::getValue() {
+ return value;
+}
+
String CellDouble::getValueForPrint() {
return String() += value;
}