แก้ไข การคำนวณ

This commit is contained in:
LAPTOP-KB8JC2K2\acer
2021-07-09 12:32:34 +07:00
parent 15c1ec9841
commit 5f69d9c1df
4 changed files with 14 additions and 10 deletions

View File

@@ -128,6 +128,7 @@ function funcCeilCalculateSalaryLimit(params) {
var str_ceil = cal_ceil.toString();
var split_ceil = str_ceil.split('');
var num_last = Number(split_ceil[split_ceil.length - 1]);
console.log(num_last);
if (num_last) {
after_cal = num_check - num_last;
}