On 06 May 2009, at 22:11, Seth Grover wrote:

Now I know I can just use trunc(DaySpan(val1, val2)) to achieve the
same result, but I was just curious as to why this change was made
which so drastically changes the functionality of these calls.

Because with trunc you also get rounding errors in certain cases, but in the other direction. I've now fixed it using a custom epsilon and trunc.


Jonas
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to