Convert a BCD coded integer to a normal integer.
Source position: sysstrh.inc line 308
function BCDToInt( |
Value: Integer |
):Integer; |
BCDToInt converts a BCD coded integer to a normal integer.
None.
|
Convert a string to an integer value. |
|
|
Convert an integer value to a decimal string. |
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.