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));