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

Brian Leathem resolved RF-11286.
--------------------------------

    Resolution: Done


Ported the roundFloat method from RichFaces 3
                
> 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

       

_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to