BAEL-1217 fixed failing tests

This commit is contained in:
Yasin Bhojawala
2017-10-29 19:16:42 +05:30
parent 9fee77a9d9
commit 729c392019
2 changed files with 2 additions and 3 deletions
@@ -32,8 +32,7 @@ public class GenericBigDecimalConverter implements GenericConverter {
} else {
Number number = (Number) source;
BigDecimal converted = new BigDecimal(number.doubleValue());
converted.setScale(2, BigDecimal.ROUND_HALF_EVEN);
return converted;
return converted.setScale(2, BigDecimal.ROUND_HALF_EVEN);
}
}
}