📅  最后修改于: 2022-03-11 14:58:15.938000             🧑  作者: Mango
const Big = require('big.js');
var val = new Big(0.0);
var amount = new Big(2.55);
var sum = val.plus(amount).times(100000);
console.log(sum.toFixed(2));