String Math Calculator is able to solve math calculations within a string, returning a double as the product. Supports the basic operators, *, /, + and -. Also supports parentheses, roots, exponents and logarithms. The operations are calculated left to right by PEMDAS order. Exp: using StringMathCalculator; Calculator calculator = new Calculator(); Console.WriteLine(calculator.Calculation("3 + 7 / 6 - (6 * 4)").Calculate());
$ dotnet add package StringMathCalculatorNo README available.