const Big = require("big.js"); // https://www.npmjs.com/package/big-js
constructor(namethis.sell.minus(this.buy);}; 这是因为我可以使用以下命令创建一个新对象: a = new Trade("Widget", 123.12345678, 321.87654321)
a.buy.toFixed</em
another query
const available = +(totalValue - riskValue).toFixedBigDecimal available = totalValue.subtract(riskValue).setScale(2, RoundingMode.HALF_DOWN));totalValue = 62822.65节点返回:
56540.385.toFixed</e