htj/arithmetic

字符串四元运算

Installs: 94

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 1

Open Issues: 0

Type:libaray

pkg:composer/htj/arithmetic

1.1.1 2018-11-14 12:07 UTC

This package is auto-updated.

Last update: 2025-12-15 23:14:04 UTC


README

支持字符串运算符 + - * / 数字支持百分数 小数点

$model = new ArithmeticCount();

$expr = '1+1+1+1*0.50%+50%';

$expr = '2+45+6/2-45+(23-4)*5';

echo $model->makeCount($expr)