<td align="center"> <% String avgnum = ""; if(request.getAttribute("avgnum") != null && !"".equals(request.getAttribute("avgnum"))){ double t = Double.parseDouble((String)request.getAttribute("avgnum")); java.text.DecimalFormat df = new java.text.DecimalFormat("#.00"); avgnum = df.format(t); } %> <%=avgnum %> </td>
时间: 2024-10-18 21:06:36