Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.cpp
diff options
context:
space:
mode:
Commit6a2964208400e0ec0d650e6861c9b039f2db454e (patch)
Author
 Syndamia <kamen@syndamia.com>
2022-05-29 09:24:17 +0300
Committer
 Syndamia <kamen@syndamia.com>
2022-05-29 09:24:17 +0300
Files0132b18cbcd0d45f4be5eba35573b79f2fac5a48 /src/Models/CellFormula.cpp
FMI-OOP-P2_Tables-6a2964208400e0ec0d650e6861c9b039f2db454e.tar
FMI-OOP-P2_Tables-6a2964208400e0ec0d650e6861c9b039f2db454e.tar.gz
FMI-OOP-P2_Tables-6a2964208400e0ec0d650e6861c9b039f2db454e.zip
Parentcf8dc3ded8dc7999c90cfc6840ad0b41be627034 (diff)
Autocommit at 29.05.2022 @ 09:24
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();
}