js:(单纯的转汉字,没有个、十、千、万,待我日后完善)
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); alert(chinese);