
  -spec erlang:convert_time_unit(Time, FromUnit, ToUnit) -> ConvertedTime
                                    when
                                        Time :: integer(),
                                        ConvertedTime :: integer(),
                                        FromUnit :: time_unit(),
                                        ToUnit :: time_unit().

Since:
  OTP 18.0

  Converts the Time value of time unit FromUnit to the
  corresponding ConvertedTime value of time unit ToUnit. The
  result is rounded using the floor function.

  Warning:
    You can lose accuracy and precision when converting between
    time units. To minimize such loss, collect all data at native
    time unit and do the conversion on the end result.
