摘要:
#region 实现js eval功能, 如:200+200+200-200+210 * 210 public static decimal EvalExpression(string strExpression) { Microsoft.JScript.Vsa.VsaEngine engine = Microsoft.JScript.Vsa.VsaEngine.CreateEngine(); if (string.IsNullOrEmpty(strExpression)) return 0 ... 阅读全文
posted @ 2012-12-20 09:57 且行且思 阅读(11270) 评论(1) 推荐(0) 编辑