ItEr52S04ValidacionEProbasFuncionaisItEr51S04: [Bug #404] Fixed missing rounding.

This commit is contained in:
Manuel Rego Casasnovas 2010-03-22 11:04:05 +01:00 committed by Javier Moran Rua
parent 347206d013
commit 4b6166e005

View file

@ -77,7 +77,7 @@ public class AdvanceMeasurement extends BaseEntity {
public void setValue(BigDecimal value) {
this.value = value;
if (value != null) {
this.value.setScale(2);
this.value.setScale(2, BigDecimal.ROUND_DOWN);
}
resetCommunicationDate();
}