fix rounded diskaun rebate
This commit is contained in:
@@ -676,6 +676,8 @@
|
|||||||
kadar_rebate = 20;
|
kadar_rebate = 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rebate = getRoundedMethod(rebate); // ✅ Round rebate before displaying
|
||||||
|
|
||||||
// **Display values**
|
// **Display values**
|
||||||
$('.span-pinjaman').text(formatter.format(percent_pinjaman.toFixed(2)) + ' %');
|
$('.span-pinjaman').text(formatter.format(percent_pinjaman.toFixed(2)) + ' %');
|
||||||
$('#keuntungan_sebulan').val(formatter.format(keuntungan_sebulan.toFixed(2)));
|
$('#keuntungan_sebulan').val(formatter.format(keuntungan_sebulan.toFixed(2)));
|
||||||
|
|||||||
Reference in New Issue
Block a user