4 Replies Latest reply on Oct 21, 2010 1:02 PM by Antonio Gurisatti

    How to avoid scientific conversión for double values in <h:inputText>?

    Antonio Gurisatti Newbie

      Hi,

       

      I have the nasty problem that big Double values are converted to scientific notation in <h:inputText> componentes.

      The problem arises if the value has more than 7 integer digits.

       

      Somebody knows a way to avoid this situation?

       

      I tried using a <f:convertNumber groupingUsed="false"> but if I enter a decimal value im getting an IllegalArgumentException error:

       

      /pages/accpayable/documents/apdocument-edit.xhtml @462,59 value="#{apdocumentAction.valor}": java.lang.IllegalArgumentException

       

      Thanks in advance for any help