posts - 42,  comments - 84,  trackbacks - 0
          server.xml中的<host></host>中寫入
          <Context   path=""   docBase="E:\myweb"   debug="0"   reloadable="true"   crossContext="true"   />
          //科學計數法的轉換//
          DecimalFormat df = newDecimalFormat("####.000");
          df.format(要格式的值); 
          /***************// 
          DecimalFormat format = (DecimalFormat) NumberFormat.getPercentInstance();
          format.applyPattern("#####0");
          String temp = format.format(Double.MAX_VALUE);
          System.out.println(temp);
          posted on 2007-07-31 12:26 Dong 閱讀(223) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 山东省| 永顺县| 班玛县| 灵宝市| 梅州市| 和顺县| 荥经县| 黎平县| 广州市| 开原市| 龙海市| 博乐市| 大宁县| 汾西县| 沛县| 营口市| 巴南区| 达州市| 邻水| 西畴县| 临武县| 昌宁县| 成安县| 南和县| 沂水县| 体育| 手游| 西华县| 舞阳县| 泸水县| 屏南县| 姚安县| 临安市| 通江县| 永宁县| 靖宇县| 六枝特区| 光山县| 缙云县| 拉萨市| 罗平县|