1 Reply Latest reply on Mar 5, 2012 12:53 PM by thiagollo

    spark.formatters.NumberFormatter in mobile project

    thiagollo Level 1

      Hello,

       

      I have an numberFormatter in action script class like this:

       

      import spark.formatters.NumberFormatter;

       

      private var format:NumberFormatter = new NumberFormatter();

      format = new NumberFormatter();

      format.setStyle("locale", "pt-BR");

      format.fractionalDigits = 2;

      format.format(value);

       

      When i use the flash builder simulator in windows 7 the value appears nice ("1.990,90").

      But, the problem is when i run the application on Android device the value appears "1.990,9".

      The last zero is missing....

       

      Any sugestions?