Example #1
0
        public static int Evaluate(string infixNotationString)
        {
            string postFixNotationString = ShuntingYardConverter.Convert(infixNotationString);
            int    result = PostfixNotation.Evaluate(postFixNotationString);

            return(result);
        }
Example #2
0
        public static BigInteger Evaluate(string infixNotationString)
        {
            string postFixNotationString = ShuntingYardConverter.Convert(infixNotationString);

            return(PostfixNotation.Evaluate(postFixNotationString));
        }