日期:2014-05-20  浏览次数:20717 次

把123456转成十二万三千四百五十六
如题,怎么转

------解决方案--------------------
http://blog.csdn.net/lzumcj_pa18/archive/2005/01/26/268614.aspx
------解决方案--------------------
class x {

public static void main(String[] args)
{

String x[]={ "零 ", "一 ", "二 ", "三 ", "四 ", "五 ", "六 ", "七 ", "八 ", "九 "};
String num= "392740283 ";
for(int i=0;i <num.length();i++) System.out.print(x[Integer.parseInt(num.substring(i,i+1))]);



}

}
------解决方案--------------------
up
------解决方案--------------------
http://blog.csdn.net/liujun999999/archive/2007/07/07/1682197.aspx