[fpc-pascal] FPC GO32 2.6.2 wrong result from SecondsBetween

Bart bartjunk64 at gmail.com
Tue Sep 17 18:15:24 CEST 2013


On 9/17/13, Lubomír Čabla <kladno at gmail.com> wrote:
> I am doing something wrong?

Probably rounding errors:
  DT1:=EncodeDate(2013,5,28)+EncodeTime(15,26,1,0);
2 calculations on floating numbers

  DT1:=EncodeTime(15,26,1,0);
1 calculation on floating numbers

Bart



More information about the fpc-pascal mailing list