I upgraded one project from XE to XE2 and I noticed that DateToStr
doesn't work exactly as before.
If I try to covert a null date to str it gives "Invalid floating point operation". While this was not there in XE.
Why there is this difference? Are there similar behaviours for other functions? (I mean some function that in a similar case = converting a null value changes the behaviour)
TDateTime
that has value of0.0
. – David Heffernan0.0
does not throw an FP error – David Heffernan