Skip to content

ms precision in fromStringJulianTAI_ISO() #92

@NiklasPhabian

Description

@NiklasPhabian

in fromStringJulianTAI_ISO(), we hardcode the precision of milliseconds to 3.
Would it be possible to have them be variable length ... anything between the decimal separator . and the forward res (? .
This is really just about style. I just feel bad for quietly truncating.

TemporalIndex::fromStringJulianTAI_ISO(string inputString) {}

...
PARSE_INT(millisecond,3);
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions