<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>引入標簽庫. <fmt:formatNumber type="number" value="${ch.showValue(item.unitprice,null)}" pa ...
<%@ 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"/>