Add - operator into basecalc

This commit is contained in:
Michał Zieliński
2025-03-24 16:34:56 +01:00
parent 3387013d60
commit a6ac91305e
8 changed files with 181 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ public class BaseCalc
// check right side of expression
return !string.IsNullOrEmpty(Formula) &&
Formula.All(c => char.IsDigit(c) || c == '[' || c == ']' || c == '+');
Formula.All(c => char.IsDigit(c) || c == '[' || c == ']' || c == '+' || c == '-');
}
public Record CalculateT3(List<Record> records)