Pebble App Framework: Phone API
    Preparing search index...

    Function roundCoordinate

    • A coordinate cut to COORD_DECIMALS decimals, as toFixed rounds it, the way the weather source serves a place's latitude and longitude.

      Parameters

      • value: number

        The latitude or longitude, in degrees.

      Returns number

      The same coordinate to four decimals.