Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.cpp
diff options
context:
space:
mode:
1 files changed, 3 insertions, 0 deletions
-rw-r--r--src/Models/CellFormula.cpp3
diff --git a/src/Models/CellFormula.cpp b/src/Models/CellFormula.cpp
index 99938ff..061bbda 100644
--- a/src/Models/CellFormula.cpp
+++ b/src/Models/CellFormula.cpp
@@ -45,6 +45,9 @@ double CellFormula::getNumeralValue() {
}
String CellFormula::getValueForPrint() {
+ for (unsigned i = 0; i < formula.get_count(); i++)
+ std::cout << "[" << formula[i].left->getValueForPrint() << " " << formula[i].right << std::endl;
+ return "";
return String() += calculate();
}