diff options
Autocommit at 28.05.2022 @ 16:19
1 files changed, 3 insertions, 0 deletions
| -rw-r--r-- | src/Models/CellFormula.h | 3 |
diff --git a/src/Models/CellFormula.h b/src/Models/CellFormula.h index 505d305..3074846 100644 --- a/src/Models/CellFormula.h +++ b/src/Models/CellFormula.h @@ -7,6 +7,7 @@ class CellFormula : public Cell { enum Op { + none, plus, minus, mult, @@ -18,6 +19,8 @@ class CellFormula : public Cell { List<Pair<Cell*, Op>> formula; String rawFormula; + double calculate(unsigned index = 0); + public: CellFormula() = default; |
