-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
6u26
-
x86
-
windows_7
FULL PRODUCT VERSION :
1.6
ADDITIONAL OS VERSION INFORMATION :
Windows 7
EXTRA RELEVANT SYSTEM CONFIGURATION :
Not Required
A DESCRIPTION OF THE PROBLEM :
DecimalFormat myFormatter = (DecimalFormat) NumberFormat.getInstance(new Locale("sv", "SE"));
char gs=myFormatter.getDecimalFormatSymbols().getGroupingSeparator();
// gs is actually here as space
// instead of space it should be '.'
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
DecimalFormat myFormatter = (DecimalFormat) NumberFormat.getInstance(new Locale("sv", "SE"));
char gs=myFormatter.getDecimalFormatSymbols().getGroupingSeparator();
//check value of gs at here
// gs is actually here as space
// instead of space it should be '.'
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
As per swedish format they are taking '.' as grouping separator.
ACTUAL -
if we try to format a double value like 15566.34
so after formatting it is like 15 566,34
which is wrong it must be 15.566,34
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No error message
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
no Test cases
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
I have to put condition for specific languages
SUPPORT :
YES
1.6
ADDITIONAL OS VERSION INFORMATION :
Windows 7
EXTRA RELEVANT SYSTEM CONFIGURATION :
Not Required
A DESCRIPTION OF THE PROBLEM :
DecimalFormat myFormatter = (DecimalFormat) NumberFormat.getInstance(new Locale("sv", "SE"));
char gs=myFormatter.getDecimalFormatSymbols().getGroupingSeparator();
// gs is actually here as space
// instead of space it should be '.'
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
DecimalFormat myFormatter = (DecimalFormat) NumberFormat.getInstance(new Locale("sv", "SE"));
char gs=myFormatter.getDecimalFormatSymbols().getGroupingSeparator();
//check value of gs at here
// gs is actually here as space
// instead of space it should be '.'
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
As per swedish format they are taking '.' as grouping separator.
ACTUAL -
if we try to format a double value like 15566.34
so after formatting it is like 15 566,34
which is wrong it must be 15.566,34
ERROR MESSAGES/STACK TRACES THAT OCCUR :
No error message
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
no Test cases
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
I have to put condition for specific languages
SUPPORT :
YES