From 6a2964208400e0ec0d650e6861c9b039f2db454e Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 29 May 2022 09:24:17 +0300 Subject: Autocommit at 29.05.2022 @ 09:24 --- src/Models/CellFormula.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Models/CellFormula.cpp') 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(); } -- cgit v1.3.1-23-gd82d