Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Round latitude, longitude to to two decimals  #105

@ghost

Description

Hi,

I noticed when playing with different locations around the world, some LAT:LON are getting changed, or additional numbers are being added on the end.

I'm using ~/.config/redshift.conf

In this screen shot below;

http://i.imgur.com/bWtVbLd.png

I'm using these lat:lon

lat=42.38
lon=83.08

Notice at the end it's adding on 0001 & 0002

In this screen shot below;

http://i.imgur.com/MPByV1Y.png

I'm using these lat:lon

lat=48.85
lon=2.33

Notice at the end it changed it from .85 to .849998

Hopefully this can be cleaned up in a future version so we see the LAT:LON as the actual numbers.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions