数字转中文
var number = 323413290907; var N = [ "零", "一", "二", "三", "四", "五", "六", "七", "八", "九" ]; function convertToChinese(num){ var str = num.toString(); var len = num.toString().length; var C_Num = []; for(var i = 0; i < len; i++){ C_Num.push(N[str.charAt(i)]); } return C_Num.join(''); } var chinese = convertToChinese(number); chinese