js将数字转换成中文 function transform(tranvalue){ try{ var i=1; var dw2 = new Array("","万","亿");//大单位 var dw1 = new Array("拾","佰","仟");//小单位 var dw = new Array("零","壹","贰","叁","肆","伍","陆","柒","捌","玖");//整数部分用 //以下是小写转换成大写显示在合计大写的文本框中 //分离整数与小数 var source =
Private Function setdata(num As Integer) As String '数字转换 Select Case num Case 0 setdata = "零" Case 1 setdata = "壹" Case 2 setdata = "贰" Case 3 setdata = "叁" Case 4 setdata = "肆" Case 5 setdata = "伍" Case 6 setdata = "陆" Case 7 setdata = "柒" Case 8 s