0

I have two times periods from the same day and I am using datediff(Hour,FirstTime,SecondTime)*1.0 to get the hours difference, but it is rounding. I am expecting 4.5 but my results keep coming back as 5.0

I tried casting each time, formatting each time before datediff but the results are the same. I know I am missing a simple solution probably because I am too close to the issue.

jarlh
  • 42,561
  • 8
  • 45
  • 63
Comicwizard
  • 55
  • 1
  • 1
  • 3

0 Answers0