HandsomeWolf / pixiu-number-toolkit

A collection of number utilities.
https://www.muchappy.com/open_source/pixiu-number-toolkit/
MIT License
75 stars 5 forks source link

数字转中文是否缺少零 #5

Closed f5l5y5 closed 4 months ago

f5l5y5 commented 6 months ago

例如:120012 输出:一十二万一十二 正常:一十二万零一十二

HandsomeWolf commented 4 months ago

image 确实,在提取“万”后,0012被识别成了12,导致0丢失,已修复,单元测试已跑过。