@resee-movies/utilities - v0.8.0
    Preparing search index...

    Function formatKilometers

    • Given a numerical value of kilometers, this method creates a formatted string by rounding the value to the nearest 1/10, and appending "km". For a value of -1 < value < 1 the result is formatted in meters.

      Parameters

      • value: unknown

      Returns string