def convert_to_d_h_m_s(days):
  """Return the tuple of days, hours, minutes and seconds from days (float)"""

  days, fraction = divmod(days, 1)
  hours, fraction = divmod(fraction * 24, 1)
  minutes, fraction = divmod(fraction * 60, 1)
  seconds = fraction * 60
  
  return int(days), int(hours), int(minutes), int(seconds)