mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
bug fix #714
This commit is contained in:
parent
d77b8d43bf
commit
b2c00ce1f9
@ -102,7 +102,10 @@ public class NumberChineseFormatter {
|
||||
// 如果"万"的部分不为 0, 而"万"前面的部分小于 1000 大于 0, 则万后面应该跟“零”
|
||||
chineseStr.insert(0, "零");
|
||||
}
|
||||
chineseStr.insert(0, "万");
|
||||
if (parts[i] > 0) {
|
||||
// 如果"万"的部分不为 0 则增加万
|
||||
chineseStr.insert(0, "万");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user