Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
Adobe Flex SDK 3.1 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Browser: Firefox 2.x
Language Found: English
Description
Steps to reproduce:
1. create a NumberFormatter with this settings:
precision=2;
useThousandsSeparator=false;
decimalSeparatorFrom=".";
decimalSeparatorTo=",";
2. format number 0.0
Actual Results:
0.0,00
Expected Results:
0,00
I think problem is in function: format(value:Object):String of NumberFormatter infact there is case for
if (Math.abs(numValue) >= 1)
and for if (Math.abs(numValue) > 0)
but not for if (Math.abs(numValue) == 0)