Korean number counting system is composed of 4 digit main units plus sub units
1. main units
10000 => 만
10000 0000 => 억
10000 0000 0000 => 조
10000 0000 0000 0000 => 경
2. sub units
10 십
100 백
1000 천
First split the number by 4 digits and for each count sub units and add main units.
example)
1,240
no main unit
1000 + 200 + 40 => 천 + 이백 + 사십 => 천이백사십
2,964
no main unit
2000 + 900 + 60 + 4 => 이천 + 구백 + 육십 + 사 => 이천구백육십사
308
no main unit
300 + 8 => 삼백 + 팔 => 삼백팔
846,412
84 6412
one main unit(만)
84 * 10000 + 6412 => 팔십 + 사 + 만 + 육천 + 사백 + 십 + 이 => 팔십사 만 육천 사백십이
64,682
6 4682
one main unit(만)
6 * 10000 + 4682 => 육 + 만 + 사천 + 육백 + 팔십 + 이 => 육만사천육백팔십이
3,849
no main unit
3000 + 800 + 40 + 9 => 삼천 + 팔백 + 사십 + 구 => 삼천팔백사십구
5,687
no main unit
오천 + 육백 + 팔십 + 칠 => 오천육백팔십칠
26,589
2 6589
one main unit(만)
이 + 만 + 육천 + 오백 + 팔십 + 구 => 이만육천오백팔십구
3,268,947
326 8947
one main unit(만)
삼백 + 이십 + 육 + 만 + 팔천 + 구백 + 사십 + 칠 => 삼백이십육만 팔천구백사십칠
610,452,326,541,304
610 4523 2654 1304
three main units(조 억 만)
육백십 + 조 + 사천오백이십삼 + 억 + 이천육백오십사 + 만 + 천삼백사 => 육백십조사천오백이십삼억이천육백오십사만천삼백사