[richfaces-issues] [JBoss JIRA] Updated: (RF-11286) rich:inputNumberSpinner with step=0.1

Jay Balunas (JIRA) jira-events at lists.jboss.org
Wed Aug 10 21:51:26 EDT 2011


     [ https://issues.jboss.org/browse/RF-11286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jay Balunas updated RF-11286:
-----------------------------

      Fix Version/s: 4.1.0.Tracking
           Priority: Trivial  (was: Major)
    Forum Reference: http://community.jboss.org/thread/170688  (was: http://community.jboss.org/thread/170688)


Thanks for the investigation and links!

> 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 Kowalski
>            Priority: Trivial
>             Fix For: 4.1.0.Tracking
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list