Post: SumRepaymentColumnVT1 fix interpolation
This commit is contained in:
parent
ecadf10699
commit
2aaf6ae5c8
@ -47,7 +47,7 @@ public class SumRepaymentColumnVT1 : BaseSumRepaymentColumn
|
|||||||
.GetValues(1)
|
.GetValues(1)
|
||||||
.Select((x, i) => -x * (1 + (decimal)constants.VatValue)
|
.Select((x, i) => -x * (1 + (decimal)constants.VatValue)
|
||||||
* (preparedValues.TypeRepayment == 100_000_000
|
* (preparedValues.TypeRepayment == 100_000_000
|
||||||
? interpolation.Interpolate(i) / 100
|
? interpolation.Interpolate(i + 1) / 100
|
||||||
: (decimal)preparedValues.Repayment)))
|
: (decimal)preparedValues.Repayment)))
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user