[Overview][Resource strings][Constants][Types][Procedures and functions][Index] |
Convert a roman numeral to an integer value
Source position: strutils.pp line 228
function RomanToIntDef( |
const S: string; |
const ADefault: LongInt = 0; |
Strictness: TRomanConversionStrictness = rcsRelaxed |
):LongInt; |
RomanToInt converts the roman numeral in S to an integer and returns the integer value. The strictness of the conversion algorithm is determined by Strictness. If the conversion fails, ADefault is returned.
|
How to treat invalid roman numerals in TryRomanToInt. |
|
|
Try to convert a roman numeral to an integer value. |
|
|
Convert a string with a Roman number to it's decimal value. |
|
|
Represent an integer with roman numerals |