c# 金钱大写转小写工具类
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TJCFinanceWriteOff.BizLogic.Common { /// <summary> /// C#金额大写转小写 /// </summary> public static class MoneyUtil { public static string RMBChineseConvertToNumber(string str) { if (string.IsNullOrEmpty(str)) { return string.Empty; } str = str.Replace("零", "").Replace("整", ""); var arr = str.ToCharArray(); double money = 0; //最终的金额 bool yi = false; bool wan = false; bool qian = false; bool bai = false; bool shi = false; bool yuan = false; bool jiao = false; bool fen = false;