Converts the specified roman numeral letter to an integer.
public static int ToInteger(char ch)
| parameter | description |
|---|---|
| ch | The letter. |
The corresponding integer, or zero if the letter isn’t a roman numeral.
Converts the specified roman numeral string to an integer.
public static int ToInteger(string str)
| parameter | description |
|---|---|
| str | The string. |
The corresponding integer, or zero if the string contains anything that isn’t a roman numeral.