(后台)El表达式格式化两位小数时间:2023-03-10 02:07:46 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>引入标签库. <fmt:formatNumber type="number" value="${ch.showValue(item.unitprice,null)}" pattern="0.00" maxFractionDigits="2"/>