Publish date: 2008-07-04 08:52:35+08:00
Posted by
查爾斯實驗室
以下是JAVASCRIPT涵式把阿拉伯數字變成中國數字。 function chineseNum(numstr){ numArray='零,一,二,三,四,五,六,七,八,九,十'.split(','); decimalArray='個,十,百,千,萬,十,百,千,億,十,百,千,兆'.split(','); tmpstr=new String(); for(counti=0;counti<numstr.toString().length;counti++){ decimalPlace=numstr.toString().len...
Continue reading...
Similar Sites
Search in Google