title: How to use Primefaces slider component with decimal values?
body: <p>I am using <code>JSF 2.2</code>, <code>Primefaces 4.0</code>, and I am using <code>slider</code> component from <code>Primefaces</code>.</p>
  
  <pre><code>&lt;p:slider displayTemplate="Between {min} and {max}" minValue="20" maxValue="40" step="1"/&gt;
  </code></pre>
  
  <p>I would like to ask you if is possibile to have <code>step</code> as <code>decimal</code> value. E.g. <code>step="0.1"</code>, or perhaps some ideas about how to solve this issue.</p>
  
  <p>I have tried but I'm getting errors like : </p>
  
  <pre><code>javax.el.ELException: Cannot convert 0.1 of type class java.lang.String to int] with root cause
  </code></pre>
  
  <p>Thank you.</p>