header Content type:text html charset utf function getNumber num arr array 零 , 壹 , 贰 , 叁 , 肆 , 伍 , 陆 , 柒 , 捌 , 玖 cny array , 拾 , 佰 , 仟 , , 萬 , 亿 , 兆 小数部分 retval if strpos num, . false list num, dec ex ...
2018-04-09 17:10 0 905 推荐指数:
...
转自:https://blog.csdn.net/breal/article/details/85062742 ...
...
package test;public class NumberFormatTest {static String[] units = { "", "十", "百", "千", "万", "十万", ...
...
//代码如下所示: function convertCurrency(money) { //汉字的数字 var cnNums = new Array('零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖'); //基本单位 var ...