0

I have a variable of type TTime and the value EncodeTime(17, 00, 00,00), when I try to get the double value I get 0.070833333333. I also have a datetimepicker component when I set it to 17:00:00 the double value I get is 0.70833333334. It is not the same as the one that I enconded, so Im facing an issue whenever I try to compare the two values to see if they are equal. Why would it be that I am getting this error? I don't know if this is an error, but they are supposed to have the same double value.

LU RD
  • 34,438
  • 5
  • 88
  • 296

0 Answers0