金额数字转中文

时间:2016-09-08 10:37:19
【文件属性】:
文件名称:金额数字转中文
文件大小:12KB
文件格式:CS
更新时间:2016-09-08 10:37:19
.NET 金额 中文 大写 数字金额转换成中文完美版 /// /// 数位 /// public enum NumLevel { Cent, Chiao, Yuan, Ten, Hundred, Thousand, TenThousand, hundredMillon, Trillion }; /// /// 数位的指数 /// private static int[] NumLevelExponent = new int[] { -2, -1, 0, 1, 2, 3, 4, 8, 12 }; /// /// 数位的中文字符 /// private static string[] NumLeverChineseSign = new string[] { "分", "角", "元", "拾", "佰", "仟", "万", "亿", "兆" }; /// /// 大写字符 /// private static string[] NumChineseCharacter = new string[] { "零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖" };

网友评论