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 閱讀(221) 評論(0)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 苍山县| 清徐县| 岳普湖县| 盐源县| 建湖县| 沙洋县| 沐川县| 东莞市| 武定县| 韶关市| 湖口县| 东阳市| 房产| 屏山县| 黑山县| 报价| 武胜县| 鹤岗市| 韶山市| 洪洞县| 灵山县| 陵水| 文成县| 南岸区| 旬邑县| 融水| 汝南县| 吴桥县| 沙河市| 宁城县| 虎林市| 九江县| 泉州市| 钦州市| 井冈山市| 江门市| 鹤壁市| 邵阳市| 三门县| 保德县| 郴州市|