Skip to content

.toDD() not formatting correctly #16

@njemanuel01

Description

@njemanuel01

Working with magellan in my application I've found that:
magellan('60 S').latitude().toDD() returns '60.0000' instead of '-60.0000' and
magellan('150 W').longitude().toDD() returns '150.0000' instead of '-150.0000'

It appears to be an issue in lns 127/128, should decimal > 0 read decimal >= 0?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions