[Overview][Constants][Types][Procedures and functions] | Reference for unit 'strutils' (#rtl) |
Converts a hexadecimal string to a decimal value
Source position: strutils.pp line 164
function Hex2Dec( |
const S: String |
):LongInt; |
S |
|
String to convert |
Hexadecimal value of the string
Hex2Dec converts the hexadecimal value in the string S to its decimal value. Unlike the standard Valor StrToInt functions, there need not be a $ sign in front of the hexadecimal value to indicate that it is indeed a hexadecimal value.
If S does not contain a valid hexadecimal value, an EConvertError exception will be raised.
|
Convert a decimal number to a string representation, using given a base. |
|
|
Converts an integer to a binary string representation, inserting spaces at fixed locations. |
|
|
Represent an integer with roman numerals |
|
|
Convert a string with a Roman number to it's decimal value. |
No notes exist for this page yet.