コード例 #1
0
        /// <summary>
        /// 获得中文大写金额
        /// </summary>
        /// <param name="p_Money"></param>
        /// <returns></returns>
        public static string GetUpperMoney(double p_Money)
        {
            ChineseNum chineseNum = new ChineseNum();

            return(chineseNum.GetMoneyChinese(p_Money));
        }
コード例 #2
0
        /// <summary>
        /// 获得中文数字
        /// 例:222   ====》二百二十二
        /// </summary>
        /// <param name="p_num"></param>
        /// <returns></returns>
        public static string GetChineseNum(string p_num)
        {
            ChineseNum chineseNum = new ChineseNum();

            return(chineseNum.NumToChn(p_num));
        }