decimal-flow
v0.0.1
Published
计算库,使用了decimal进行浮点计算
Readme
DecimalFlow
计算库,使用了decimal进行浮点计算
demo1
// should return 3 with 1+2
const temp = new DF(1).add(2).valuedemo2
// should return 6 with 1+2+(1+2)
const temp = new DF(1)
.add(2)
.add(
new DF(1)
.add(2)
).valueOf()
