]
Brian Leathem updated RF-11286:
-------------------------------
Fix Version/s: 4.1.0.Milestone3
(was: 4.1.0.Tracking)
Forum Reference:
rich:inputNumberSpinner with step=0.1
-------------------------------------
Key: RF-11286
URL:
https://issues.jboss.org/browse/RF-11286
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-input
Affects Versions: 4.0.0.Final
Reporter: Konrad Świć
Assignee: Brian Leathem
Priority: Trivial
Fix For: 4.1.0.Milestone3
There is a problem with rich:inputNumberSpinner. When I use it like below:
<rich:inputNumberSpinner value="0" step="0.1"
minValue="0" />
And increase the value I have following results:
1. 0
2. 0.1
3. 0.2
4. 0.30000000000000004
5. 0.4
6. 0.5
7. 0.6
8. 0.7
9. 0.7999999999999999
10. 0.8999999999999999
11. 0.9999999999999999
12. 1.9999999999999999
13. 1.2
14. 1.3
...
There is simple sum in JS code. You should do this like in RichFaces 3.3 ;] with
rounding. I`ve tried it and works fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: