DEV Community

loading...

Discussion on: Daily Challenge #248 - Chinese Numerals

Collapse
citizen428 profile image
Michael Kohl

I didn't quite get what the deal was with the zero

Wikipedia has a decent explanation: "Interior zeroes before the unit position (as in 1002) must be spelt explicitly. The reason for this is that trailing zeroes (as in 1200) are often omitted as shorthand, so ambiguity occurs. One zero is sufficient to resolve the ambiguity. Where the zero is before a digit other than the units digit, the explicit zero is not ambiguous and is therefore optional, but preferred. "

There are a few examples too, but they use traditional instead of simplified characters.