万和亿单独判断 function num2cn( n ) { let flag = false if(n<0) flag = true n = Math.abs(n).toString() const table = { 1: '一', 2: '二', 3: '三', 4: '四', 5: '五', 6: '六', 7: '七', 8: '八', 9: '九', 0: '零', } ...