using uCalcSoftware; var uc = new uCalc(); uc.DefineConstant("PI = 3.14159"); Console.WriteLine(uc.Eval("2 * PI"));