[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Convert a BCD coded integer to a normal integer.
Source position: sysstrh.inc line 267
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(1000); End.
lazarus-ccr.sourceforge.net |