eval_formula
Deterministically evaluate numeric formulas with variables, powers, parentheses, and arithmetic, including Chinese variable names. Verify anchor formulas and get exact computed results instead of estimates.
Instructions
确定性求值数值公式(四则/幂/括号/变量,支持中文变量名)。用于验证锚点公式、快速算数——数值永远由引擎算而非估算。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variables | No | 变量取值,如 {等级: 60} | |
| expression | Yes | 公式,如 100 * 1.08 ^ (等级 - 1) |