steve Mclaughlin created FLEX-34718:
---------------------------------------

             Summary: .toFixed returns wrong value
                 Key: FLEX-34718
                 URL: https://issues.apache.org/jira/browse/FLEX-34718
             Project: Apache Flex
          Issue Type: Bug
            Reporter: steve Mclaughlin
            Priority: Minor


var badnum:Number;
                badnum = 0.018746675664829127;
                trace(badnum.toFixed(0));
                badnum = 0.0872751526378579;
                trace(badnum.toFixed(0));
                badnum = 0.12153939111158252;
                trace(badnum.toFixed(0));

returns:
0.
1.
0.

should all be zero??



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to