private void summaUscherba(TableItem temp) { // !!!! double t = Math.Round(temp.getVal() * temp.getCountMonths() * this.StavkaBanka * 100 / 12) * 0.01; temp.setSum(t); // !!!! }
private void procentyZaPolzDenSredstvami(TableItem temp) { // !!!! double t = (temp.getVal() * temp.getCountDays() * this.StavkaZBRF) / 360; t = Math.Round(t * 100) * 0.01; temp.setProcent(t); // !!!! }