title: Prevent p:inputNumber adding a decimal point and 2 zeros when not explicitly entered?
body: <p>need help with primefaces input number</p>
  
  <pre><code>&lt;p:inputNumber id="test" value="#{test}" thousandSeparator=""/&gt;
  </code></pre>
  
  <p>If my input is like this:</p>
  
  <pre><code>100
  </code></pre>
  
  <p>The number field adds a decimal point and 2 zeros like this:</p>
  
  <pre><code>100.00
  </code></pre>
  
  <p>Is there a way of restricting this? The user can input decimal points but if the user didn't, there is no need to add a decimal point and the 2 zeros.</p>
  
  <p>Thanks!</p>