BCDToInt
Convert a BCD coded integer to a normal integer.
Declaration
Source position: sysstrh.inc line 294
  function BCDToInt(Value: Integer) : Integer;
Description
BCDToInt converts a BCD coded integer to a normal integer.
Errors
None.
See also
| Name | Description | 
|---|---|
| IntToStr | Convert an integer value to a decimal string. | 
| StrToInt | Convert a string to an integer value. | 
Example
Program Example64;
{ This program demonstrates the BCDToInt function }
Uses sysutils;
Procedure Testit ( L : longint);
begin
  Writeln (L,' -> ',BCDToInt(L));
end;
Begin
  Testit(10);
  Testit(100);
  TestIt(23);
End.