I ve got strange problem with <f:convertNumber>
. When i set maxIntegerDigits to 15 and enter, say, 16 of "1"s, i get correct number with fifteen "1"s, but if i enter 20 of "1"s i get not a number with fifteen "1"s but a number with 11 "1"s and 4 "0"s, i.e. 111111111110000, and the more digits i enter the less significant numbers and the more zeros i get. Why?
Here s code snippet:
<a4j:region>
<h:inputText id="numValue" value="#{MyBean.valueN}">
<a4j:support event="onchange" limitToList="true" ajaxSingle="true" reRender="numValue"/>
<f:convertNumber groupingUsed="false" type="number" maxIntegerDigits="15" minFractionDigits="0"/>
</h:inputText>
</a4j:region>
MyBean.valueN is java.lang.Double.