Big.js自用手册

1,707 阅读1分钟

减法

// x - y
new Big(x).minus(y)

乘法

// x * y
new Big(x).times(y)

除法

// x / y
new Big(x).div(new Big(y))