<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ attribute name="value" required="true" description="Numero a imprimir"  %>
<%@ attribute name="type" required="true" description="Tipo de numero puede ser number , currency o percent"  %>
 
<fmt:setLocale value="en_US"/>
<fmt:formatNumber type="${type}"  maxFractionDigits="2" value="${value}"  />