four-operations-jayden
v1.0.1
Published
``` npm install four-operations-jayden node const c = require('four-operations-jayden') data = { //公式 formula: '(x+y)*z', //参数 data: { x: 0.1, y: 0.2, z: 1 } } c.compute(data) ```
Downloads
3
Readme
使用方法
npm install four-operations-jayden
node
const c = require('four-operations-jayden')
data = {
//公式
formula: '(x+y)*z',
//参数
data: {
x: 0.1,
y: 0.2,
z: 1
}
}
c.compute(data)例如:

