mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-07 07:12:44 +02:00
16 lines
223 B
ObjectPascal
16 lines
223 B
ObjectPascal
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. |