表达评估器

编程入门 行业动态 更新时间:2024-10-07 14:23:57
本文介绍了表达评估器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个数字表达式,以字符串形式提供,它使用数字和Round函数.

I have a numeric expression, provided as string, which uses numbers and Round function.

如何在运行时评估其值?

How can I evaluate its value at runtime?

谢谢

致谢

推荐答案

字符串评估器不是一件容易的事. .NET不直接支持它,因此,您可以在Google上找到很多示例或第三方应用程序.

A String evaluator is not a trivial task. It is not directly supported in .NET, so, you could Google and find quite a few examples, or third party application that do it.

如果您想构建自己的,那么许多Google链接都提供了可能有帮助的描述.

If you want to build your own, then lots of Google links offer descriptions that may help.

更多推荐

表达评估器

本文发布于:2023-11-28 18:45:41,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1643544.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!