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 ...