How to treat invalid roman numerals in TryRomanToInt.
Source position: strutils.pp line 181
type TRomanConversionStrictness = ( |
||
rcsStrict, |
|
Only accept correct roman numerals. |
rcsRelaxed, |
|
Like rcsStrict but allow more than 3 consecutive identical letters. |
rcsDontCare |
|
Do not check correctness. |
); |
TRomanConversionStrictness is an enumerated type that can be used to decide how to react to invalid roman numerals.
|
Try to convert a roman numeral to an integer value. |
|
|
Convert a string with a Roman number to it's decimal value. |
|
|
Convert a roman numeral to an integer value. |