[richfaces-issues] [JBoss JIRA] (RF-11286) rich:inputNumberSpinner with step=0.1
Brian Leathem (Updated) (JIRA)
jira-events at lists.jboss.org
Tue Oct 4 17:49:16 EDT 2011
[ https://issues.jboss.org/browse/RF-11286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated RF-11286:
-------------------------------
Fix Version/s: 4.1.0.Milestone3
(was: 4.1.0.Tracking)
Forum Reference: http://community.jboss.org/thread/170688 (was: http://community.jboss.org/thread/170688)
> 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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list