Skip to content

Issue in spatial::deg2hms() #3

Description

@AstroTeutloff

Hi, great crate, small issue I have encountered:
When converting angles from decimal degree to sexagesimal degrees, the result for $0.5$ is correctly $00:02:00.0000$, but for e.g. $180.5$ it returns $12:01:60.0000$ (not correcly ticking over the seconds value.

This might be a floating point arithmetic error (I have looked at the function in question and I wouldn't know how to change this, it looks fine to me)

Just thought I'd let you know! :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions