// 数字转换金额 const convert = (num) => { const str = num.toString() return str } console.log(typeof convert(12345678))