[ https://issues.apache.org/jira/browse/FLEX-25847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Mclean resolved FLEX-25847. ---------------------------------- Resolution: Fixed Fix Version/s: Apache Flex 4.10.0 Fixed by other changes in the develop branch. > Odd Long Numbers Appearing In NumericStepper > -------------------------------------------- > > Key: FLEX-25847 > URL: https://issues.apache.org/jira/browse/FLEX-25847 > Project: Apache Flex > Issue Type: Bug > Components: Spark: NumericStepper > Affects Versions: Adobe Flex SDK Previous > Environment: Affected OS(s): Mac > Affected OS(s): Mac OS 10.6 > Language Found: English > Reporter: Adobe JIRA > Fix For: Apache Flex 4.10.0 > > > Steps to reproduce: > This happens in Flex 4 and the MAX 2010 Preview Build > 1. Setting the NumericStepper thus: > <s:NumericStepper id="cutPoint1NS" value="-1.5" stepSize="0.1" > snapInterval="0.10" minimum="-2.0" maximum="2.0" baselineShift="0.0" > allowValueWrap="false" /> > 2. When rendered, start clicking the up arrow. > > Actual Results: > -1.4 > -1.3 > -1.2 > -1.1 > -1 > -0.8999999999999999 > -0.8 > -0.7 > -0.6000000000000001 > -0.5 > -0.3999999999999999 > -0.30000000000000004 > -0.19999999999999996 > -0.10000000000000009 > 0 > 0.10000000000000009 > 0.20000000000000018 > 0.2999999999999998 > 0.3999999999999999 > 0.5 > 0.6000000000000001 > 0.7000000000000002 > 0.7999999999999998 > 0.8999999999999999 > 1 > ... > you get the idea. > > > Expected Results: > -1.5 > -1.4 > -1.3 > -1.2 > -1.1 > -1.0 > -0.9 > -0.8 > -0.7 > -0.6 > -0.5 > -0.4 > -0.3 > -0.2 > -0.1 > 0 > 0.1 > 0.2 > 0.3 > 0.4 > 0.5 > 0.6 > 0.7 > 0.8 > 0.9 > 1.0 > ... > again, you get the idea. > > > Workaround (if any): > Let me know if I've done something wrong here, but this seems very straight > forward. "stepSize" is set to a value that is easy to add, I assume. Why > would I be getting these odd values? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira