flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-16463) Int instead of Number
Date Sun, 05 May 2013 00:30:16 GMT

     [ https://issues.apache.org/jira/browse/FLEX-16463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Mclean resolved FLEX-16463.
----------------------------------

       Resolution: Not A Problem
    Fix Version/s: Apache Flex 4.10.0

Possibly a Flash Builder issue and if so not an Apache Flex issue.

Number behave in ActionScript as you expect (most of the time). eg This displays a number.

var num1:Number = 2.3;
var num2:Number = 4.7;
				
trace(num1/num2);

                
> Int instead of Number
> ---------------------
>
>                 Key: FLEX-16463
>                 URL: https://issues.apache.org/jira/browse/FLEX-16463
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: .Unspecified - Framework
>    Affects Versions: Adobe Flex SDK 3.2 (Release)
>         Environment: Affected OS(s): Windows
> Affected OS(s): 
> Browser: Internet Explorer 7.x
> Language Found: English
>            Reporter: Adobe JIRA
>             Fix For: Apache Flex 4.10.0
>
>
> Steps to reproduce:
> 1.define two numbers, first smaller than second one
> 2.debug them, (try divide them in expression watch)
> 3.try other combinations... you will receive int on evry step so you have to fake your
compiler if you like to get proper values...
>  
>  Actual Results:
>  Bug in watch, often also in-code calculations
>  
>  Expected Results:
>  Numbers works like floats not intigers
>  
>  Workaround (if any):

--
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

Mime
View raw message