Skip to content

Parsing mega og milli abbreviations fail with AmbiguousUnitParseException #590

@angularsen

Description

@angularsen

After #584, we lowercase abbreviations, including the prefixes, which means we can no longer distinguish milli from mega.

As a result, Pressure.Parse("3 Mbar") fails, because there are two abbreviations it matches.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions