fix two decimal places
This commit is contained in:
@@ -62,8 +62,8 @@ class Calculation
|
||||
$onepercent = $this->kiraanOnePercent($pembiayaan);
|
||||
$ujrah_sebenar = $this->kiraanUjrahSebenar($nilaimarhun,$kadarujrah,$margin);
|
||||
|
||||
// $onepercent = $this->getRoundedMethod($onepercent);
|
||||
// $ujrah_sebenar = $this->getRoundedMethod($ujrah_sebenar);
|
||||
$onepercent = $this->getRoundedMethod($onepercent);
|
||||
$ujrah_sebenar = $this->getRoundedMethod($ujrah_sebenar);
|
||||
|
||||
$keuntungan = $onepercent + $ujrah_sebenar;
|
||||
|
||||
@@ -75,8 +75,8 @@ class Calculation
|
||||
$this->one_percent = $this->getKadarUpah($nilaimarhun);
|
||||
$onepercent = $this->kiraanOnePercent($pembiayaan);
|
||||
$ujrah_sebenar = $this->kiraanUjrah($nilaimarhun,$kadarujrah,$margin);
|
||||
// $onepercent = $this->getRoundedMethod($onepercent);
|
||||
// $ujrah_sebenar = $this->getRoundedMethod($ujrah_sebenar);
|
||||
$onepercent = $this->getRoundedMethod($onepercent);
|
||||
$ujrah_sebenar = $this->getRoundedMethod($ujrah_sebenar);
|
||||
|
||||
$keuntungan = $onepercent + $ujrah_sebenar;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user