[Gambas-user] CFloat() and CDate()

Hans Lehmann hans at gambas-buch.de
Wed Nov 9 18:43:22 CET 2022


Hello,

why do the following two lines

(1) Print CFloat(Date("01/01/-4801 01:00:00"))
(2) Print CFloat(Date("01/01/-4801 00:00:00"))

the *same* real number 0.958333333333333

and

Print CDate(0.95833333333)

23:00:00

?

With kind regards

Hans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20221109/565ee559/attachment.htm>


More information about the User mailing list