260205_05_ENH: 1차 lg 수정 요청사항 반영
This commit is contained in:
@@ -133,6 +133,9 @@ export function parseNumber(
|
||||
|
||||
if (s === "" || s === "-" || s === "−") return null;
|
||||
|
||||
s = s.replaceAll("(", "");
|
||||
s = s.replaceAll(")", "");
|
||||
|
||||
if (allowComma) s = s.replaceAll(",", "");
|
||||
if (allowPercent) s = s.replaceAll("%", "");
|
||||
if (allowMinus) s = s.replaceAll("−", "-"); // 유니코드 마이너스 -> ASCII 마이너스
|
||||
|
||||
Reference in New Issue
Block a user