[fpc-pascal] Re: Possible bug in return value of MonthsBetween function in unit dateutils

Henry Vermaak henry.vermaak at gmail.com
Thu Dec 10 13:23:11 CET 2009


2009/12/10 Funky Beast <funkybeast at pacific.net.sg>:
>
> I did read that, but I'm just wondering isn't 9.98767967 more approximate to 10 than 9?

How do you round a month?  It makes sense that the function only gives
full months, imo.  Either way, I think this is d€lphi compatible and
at least documented.

Henry



More information about the fpc-pascal mailing list