Skip to content

Convertion from m³ to hm³ always 0 #1617

Description

@knwa-dhi

I tried to convert by ByAbbreviation like this:
UnitConverter.TryConvertByAbbreviation(2.03801051E+11, "Volume", "m³", "hm³", out double inHm3);
or
UnitConverter.TryConvertByAbbreviation(2.03801051E+11, "Volume", "m³", "km³", out double inHm3);

But the result is always 0.

I think the problem is when trying to find "km³" from the list, it always finds 2 items on the list

Image

I have tried on v5 and v6, and it's the same result.

Can you help me, what should I do?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions