I want to know how to set the default decimal separator on my JSF application. I have some <h:inputText>
that I need to format as money, with 2 decimals. Right now the decimal separator used by default is the comma ,
and this gives me an error when I do some operations on save. I don't know if I can set the decimal separator to be used everytime that I use <f:convertNumber>
tag.
I tried to use this:
<f:convertNumber pattern="########0.00" groupingUsed="false" />
but it still sets the comma as decimal separator.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…