基础参数: var AIW_number = {0:'零', 1:'壹', 2:'贰', 3:'叁', 4:'肆', 5:'伍', 6:'陆', 7:'柒', 8:'捌', 9:'玖'} var AIW_unitN = ['兆','亿','万','个'] var AIW_unitP = ['厘','分','角'] var AIW_unitU = ['仟','佰','拾','个'] 主方法: function amountInWords(amount) { var AIW = (amount+''