/// <summary>
/// 将数字金额转换成汉字大写金额
/// </summary>
/// <param name="number">待转金额</param>
/// <returns>返回大写人民币</returns>
public static string GetChineseMoneyByMoneys(decimal number)
{
var str = number.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");
var dou = Regex.Replace(str, @"((?<=-|^)[^1-9]*)|((?'z'0)[0A-E]*((?=[1-9])|(?'-z'(?=[F-L\.]|$))))|((?'b'[F-L])(?'z'0)[0A-L]*((?=[1-9])|(?'-z'(?=[\.]|$))))", "${b}${z}");
var res = Regex.Replace(dou, ".", m => "负元空零壹贰叁肆伍陆柒捌玖空空空空空空空分角拾佰仟万亿兆京垓秭穰"[m.Value[0] - '-'].ToString());
return res;
}
Console.WriteLine(GetChineseMoneyByMoneys(12690.8634m));
Console.ReadKey();