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)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 永胜县| 保康县| 衡山县| 周宁县| 繁昌县| 东阿县| 嘉善县| 孟津县| 上虞市| 彩票| 延安市| 九龙坡区| 阜阳市| 吴江市| 南溪县| 丰镇市| 巴彦淖尔市| 西峡县| 晋中市| 连城县| 康马县| 安吉县| 清涧县| 额尔古纳市| 马龙县| 佛学| 绩溪县| 襄樊市| 唐山市| 长乐市| 婺源县| 汝城县| 宝丰县| 津市市| 哈巴河县| 彰武县| 武威市| 清水县| 揭东县| 武义县| 哈密市|