[BO] 수정 : 임산물 현황, 은행자동이체내역, 임가방문정보 수정
This commit is contained in:
@@ -461,7 +461,8 @@ const ifNullHyphen = (value, fallback = '-') => {
|
||||
}
|
||||
|
||||
const formatNumberWithComma = (value) => {
|
||||
if (value == null || isNaN(value)) return '-';
|
||||
if (value == null || value === '' || Number(value) === 0) return '-';
|
||||
if (isNaN(value)) return '-';
|
||||
return Number(value).toLocaleString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user