By request, here’s the pattern.
Pay particular attention to the cases of wàn (? / ?) and yì (? / ?). When the numbers quantifying those are greater than ten, wàn and yì are written separately.
| 8 | b? |
| 58 | w?shíb? |
| 658 | liùb?i w?shíb? |
| 5,658 | w?qi?n liùb?i w?shíb? |
| 35,658 | s?nwàn w?qi?n liùb?i w?shíb? |
| 435,658 | sìshís?n wàn w?qi?n liùb?i w?shíb? |
| 9,435,658 | ji?b?i sìshís?n wàn w?qi?n liùb?i w?shíb? |
| 79,435,658 | q?qi?n ji?b?i sìshís?n wàn w?qi?n liùb?i w?shíb? |
| 379,435,658 | s?nyì q?qi?n ji?b?i sìshís?n wàn w?qi?n liùb?i w?shíb? |
| 6,379,435,658 | liùshís?n yì q?qi?n ji?b?i sìshís?n wàn w?qi?n liùb?i w?shíb? |
Still higher units follow the pattern of wàn and yì.
Note: When líng (zero) is a medial, it is always written separately.
| 507 | w?b?i líng q? | ???? |
| 40,507 | sìwàn líng w?b?i líng q? | ??????? |
Very helpful.
Just to be sure, is the following correct (regarding the separation of “wa?n”)?
1010000 – y?ba?i líng y? wa?n
1100000 – y?ba?i y?shí wa?n
100010000 – y?yì líng y? wa?n
100100000 – y?yì líng y?shí wa?n
Thanks.
y?ba?i líng y? wa?n –> y?ba?i líng y?wa?n
y?ba?i y?shí wa?n (OK)
y?yì líng y? wa?n –> y?yì líng y?wa?n
y?yì líng y?shí wa?n (OK)
Thanks a lot. Turned out that these rules are not the easiest things to code. But here’s a try:
http://www.lesantoso.com/tools/indonesian-numbers/
(The page is on spelling numbers in some languages spoken in Indonesia, including Mandarin).
Pingback: Pinyin news » How to write numbers and measure words in Hanyu Pinyin