Fix to Korean number representation
This commit is contained in:
parent
8a47f3be5d
commit
c99a2dceb0
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ std::u8string value_to_korean(unsigned long long value) {
|
||||||
}
|
}
|
||||||
if(temp = (value / 10000) % 10; temp > 0) {
|
if(temp = (value / 10000) % 10; temp > 0) {
|
||||||
if(!s.empty()) { s.push_back(' '); }
|
if(!s.empty()) { s.push_back(' '); }
|
||||||
if(temp != 1) { s.append(digit_to_kword(temp)); }
|
if(temp > 0) { s.append(digit_to_kword(temp)); }
|
||||||
s.append(man);
|
s.append(man);
|
||||||
} else if (requires_man) {
|
} else if (requires_man) {
|
||||||
s.push_back(' ');
|
s.push_back(' ');
|
||||||
|
|
Loading…
Reference in a new issue