On Sat, 9 Nov 2013, Jürgen Hestermann wrote:

Am 2013-11-09 18:31, schrieb Michael Van Canneyt:
On Sat, 9 Nov 2013, Jürgen Hestermann wrote:
Storing dates as floats has a lot of drawbacks.
It's inaccurate, you always need a starting date and get other problems.
Can you prove this statement ?

Well, aren't the current mails about incorrect YearsBetween calculation proof enough?

They are not incorrect. The reporter didn't understand what they are supposed to do.

If you need to use an approximate value for days in the year then some is wrong IMO.

Not if it is clearly documented.

Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to