摘要: /// /// 转为大写人民币 /// /// /// public static string ToRMB(string x) { string ret = ""; int nnum; x = x.Replace("-", ""); if (x.IndexOf(".") > -1) ... 阅读全文
posted @ 2007-01-30 10:50 微星 阅读(640) 评论(0) 推荐(0) 编辑
摘要: function Arabia_to_Chinese(Num){ for(i=Num.length-1;i>=0;i--) { Num = Num.replace(",","")//替换tomoney()中的“,” Num = Num.replace(" ","")//替换tomoney()中的空格 } Num = Num.replace("¥","")//替换掉可能... 阅读全文
posted @ 2007-01-30 10:41 微星 阅读(319) 评论(0) 推荐(0) 编辑