fixes the method addCurrencySymbol to return zero if
the parameter is null FEA: ItEr76S04BugFixing
This commit is contained in:
parent
a7e2850045
commit
02ec7f527e
1 changed files with 1 additions and 0 deletions
|
|
@ -661,6 +661,7 @@ public class Util {
|
|||
* {@link Configuration} object.
|
||||
*/
|
||||
public static String addCurrencySymbol(BigDecimal value) {
|
||||
value = (value == null ? BigDecimal.ZERO : value);
|
||||
DecimalFormat decimalFormat = (DecimalFormat) DecimalFormat
|
||||
.getInstance();
|
||||
decimalFormat.applyPattern(getMoneyFormat());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue