🌈 搜索
📅  最后修改于: 2022-03-11 15:03:05.445000             🧑  作者: Mango
let x = 2.960024578; let res = x.toFixed(2); console.log(res); //2,96