SOURCE

var c = _.add(0.1 , 0.2)
console.log(c)
// => 10



const ans = math.add(0.1, 0.2)     //  0.30000000000000004
console.log(ans)
console.log(math.format(ans, {precision: 14})) // '0.3'

console 命令行工具 X clear

                    
>
console