Numb2Dec function
Converts a string representation of a number to its numerical value, given a certain base.
Declaration
function Numb2Dec(S: string; Base: Byte): LongIntArguments
S | String to convert. |
Base | Base to use when converting. |
Function result
Numerical value of the string.
Description
Numb2Dec
converts the number in string
S to a decimal value.
It assumes the number is represented using
Base as the base.
No checking is performed to see whether
S contains a valid number using base
Base.Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
