code: def CopyMicrosecondsToFractionOfSecond(cls, microseconds):
      
      if microseconds < 0 or microseconds >= definitions.MICROSECONDS_PER_SECOND:
        raise ValueError(
            'Number of microseconds value: {0:d} out of bounds.'.format(
                microseconds))
  
      milliseconds, _ = divmod(
          microseconds, definitions.MICROSECONDS_PER_MILLISECOND)
      return decimal.Decimal(milliseconds) / definitions.MILLISECONDS_PER_SECOND
docs: Copies the number of microseconds to a fraction of second value.
  
      Args:
        microseconds (int): number of microseconds.
  
      Returns:
        decimal.Decimal: fraction of second, which must be a value between 0.0 and
            1.0.
  
      Raises:
        ValueError: if the number of microseconds is out of bounds.