2 Replies Latest reply on Jun 20, 2011 3:32 PM by ttdol

    Formatting Issue

    ttdol

      Hi All,


      I am trying to format amount using the below tag but it is not formatting the amount correctly. Please help.



      <h:outputText value=" #{test.priceVariance}" rendered="#{test.cost!=0.0 and test.priceVariance ge 0.0}">
      <f:convertNumber pattern="#########0.0000" maxFractionDigits="4" type="currency"/>
      </h:outputText>




      Thanks