Gets the numeric value for any single Chinese character.
public static int? ToInteger(char ch)
parameter | description |
---|---|
ch | The Chinese character. |
The numeric value, or null
if the value is not a Chinese character, or is simply not supported.
Converts the Chinese numeral string to an integer.
public static int? ToInteger(string chineseNumericString)
parameter | description |
---|---|
chineseNumericString | The Chinese numeral string. |
An integer with the value represented by the Chinese numeral, or null
if the string was in a bad format, contained non Chinese numerals, or contained Chinese numerals that aren’t supported.