Last week, John suggested to me that a tool for converting big Chinese numbers into Arabic numerals could be useful for a lot of beginning students. I completely agree, so I’ve written a Chinese Number Tool. This tool has a bit different functionality than most Chinese number converters, so it needs some explanation.
The primary purpose of this tool is to help foreigners reading online newspapers, who come across big numbers such as 百萬 or 120億. Every number to the left of a 萬 (万) or an 億 (亿) will be interpreted as a number. Chinese conventions for 零 and omitting trailing 千s, 百s, and 十s are supported. There also is support for a wide variety of input that I haven’t seen in other similar Chinese math tools, though. Here are some examples:
| Input | Output |
| 五千八百 | 5800 |
| 兩百五十 | 250 |
| 三百萬 | 3000000 |
| 三百万 | 3000000 |
| 7十 | 70 |
| 九億 | 900000000 |
| 二十万零三点一八 | 200003.18 |
| 6.25亿 | 625000000 |
| 1500万 | 15000000 |
| 五億三千九百二十萬四千四百四十一 | 539204441 |
| 壹仟叄佰柒拾捌 | 1378 |
I think the tool is pretty much what you’d expect. If see buggy behavior, let me know. Tell me what kinds of numbers you come across that are inconvenient to convert and I’ll see if I can add support for them into the tool. Suggestions are welcome.
Updates:
- As per Micah’s suggestion, the tool now supports 大写 numbers.
- Conversions can have commas added automatically
- Decimals are also now supported.
- A clickable interface has been added so users can input Chinese numbers without an IME.
Comments