The second part of the number only changes if I change the first part of the number first (before the opposite) and then the second part (after the opposite). Then the methods work fine. If I start with editing the first part (the one before the period) and then edit the remainder of the division, the remainder of the division will not be zeroed.
changeInsuranceSum(insuranceSum){
this.policyOffer.vehicle.totalValuationValue = Math.floor(Math.round(insuranceSum));
this.policyOffer.policyOfferDetail.insuranceSum = Math.floor(Math.round(insuranceSum));
}
picture with problem: https://i.stack.imgur.com/WHBF7.png