随笔分类 -  C#

C#
摘要:钱币转换成大写public static string ConvertToChinese(double x){ string s = x.ToString("#L#E#D#C#K#E#D#C#J#E#D#C#I#E#D#C#H#E#D#C#G#E#D#C#F#E#D#C#.0B0A"); string d = Regex.Replace(s, @"((?<=-|^)[^1-9]*)|((?'z'0)[0A-E]*((?=[1-9])|(?'-z'(?=[F-L\.]|$))))|((?'b'[F-L])(?&# 阅读全文
posted @ 2012-04-20 12:16 VipSoft 阅读(1154) 评论(1) 推荐(1)