You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// 현재:koreanParts.unshift(`${numberToKoreanUpToThousand(Number(currentPart))}${HANGUL_DIGITS[placeIndex]}`);// 수정:constkoreanNumber=numberToKoreanUpToThousand(Number(currentPart));if(koreanNumber!==''){// 값이 있을 때만 단위를 붙임koreanParts.unshift(`${koreanNumber}${HANGUL_DIGITS[placeIndex]}`);}
etc.
No response
The text was updated successfully, but these errors were encountered:
Bug description
numberToHangul에서 억, 조 등의 만보다 큰 단위를 가진 숫자를 변형할 때 불필요한 단위가 붙어서 출력됩니다.
Expected behavior
해당하는 단위의 값이 0인 경우 단위를 출력하지 않습니다.
To Reproduce
Possible Solution
해당 단위에 값이 있는 경우에만 단위를 붙여서 출력하도록 수정합니다.
etc.
No response
The text was updated successfully, but these errors were encountered: