Re: [PATCH] Fix handling of negative suffix in DecimalFormat

2015-07-28 Thread Guillermo Rodriguez Garcia
Hello. Any feedback? Guillermo 2015-01-30 14:28 GMT+01:00 Guillermo Rodriguez guille.rodrig...@gmail.com: When a negative subpattern is not explicitly defined, DecimalFormat was not using the positive suffix for negative values. Simple test case to reproduce the problem: DecimalFormat

[PATCH] Fix handling of negative suffix in DecimalFormat

2015-01-30 Thread Guillermo Rodriguez
When a negative subpattern is not explicitly defined, DecimalFormat was not using the positive suffix for negative values. Simple test case to reproduce the problem: DecimalFormat tempFormat = new DecimalFormat(0.0 unit); System.out.println(tempFormat.format(4.3));