• So when the conversion into floats and then taking ceiling of the values, these 2 records generate the same values.

    I disagree with explanation, it's enough to convert to INT

    Select count(intField) from TableDate where convert(INT,datefield) = 40358