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

Justin Mclean reassigned FLEX-26698:
------------------------------------

    Assignee: Justin Mclean
    
> CurrencyFormatter returns malformed string when formatting the number 0
> -----------------------------------------------------------------------
>
>                 Key: FLEX-26698
>                 URL: https://issues.apache.org/jira/browse/FLEX-26698
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Formatters
>    Affects Versions: Adobe Flex SDK Previous
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>            Assignee: Justin Mclean
>              Labels: easyfix
>
> Steps to reproduce:
> 1. Create a CurrecyFormatter instance
> 2. Use default configuration
> 3. Attempt to format the value 0.
> Code Example:
> var formatter:CurrencyFormatter = new CurrencyFormatter();
> var value:String = formatter.format(0);
>  
>  Actual Results:
> value will be equal to '$.0'
>  
>  Expected Results:
> '$0'
>  
>  
>  Workaround (if any):
>  
>  Do a secondary check for a value equal to zero in your logic prior to 
> calling the formatter.

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

Reply via email to