资源发布:Expression Evaluator v1.4

CSDN 2000-07-29 12:05:00
资源下载,详细资料请访问:http://www.csdn.net/develop/resource.asp?ID=73
强大功能,能够解析数学运算式,并且计算其值的构件,支持四则运算、三角函数、指数对数、次方运
算及使用者自定变量
This component is a mathematical function parser for
Delphi. It allows you to calculate a value given an
expression in string form. It supports the following
operators and functions:

+ : Addition
- : Substraction
* : Multiplication
/ : Division
^ : Exponential (only positive numbers
for the base)
( : Open parenthesis
) : Close parenthesis
MOD : MOD operator. Integers only (if used with floating
point numbers, it will round the values to integers)

ABS (Range: -1e4932..1e4932)
ATAN (Range: -1e4932..1e4932)
COS (Range: -1e18..1e18)
EXP (Range: -11356..11356)
LN (Range: 0..1e4932)
ROUND (Range: -1e9..1e9)
SIN (Range: -1e18..1e18)
SQRT (Range: 0..1e4932)
SQR (Range: -1e2446..1e2446)
TRUNC (Range: -1e9..1e9)


It also supports an unlimited number of user-defined
variables and complete error handling support,
including returning the position in the string where
an error ocurred.

...全文
122 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

4,164

社区成员

发帖
与我相关
我的任务
社区描述
Windows专区 一般软件使用
社区管理员
  • 一般软件使用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧