Skip to content

Conversion error from Micrometer to Nanometer in Length class #653

Closed
@tongyi87

Description

@tongyi87

Describe the bug
Loss of precision when converting from Micrometer to Nanometer.

To Reproduce
Steps to reproduce the behavior:
Build:

  1. Add nuget UnitsNet 4.18.0 to a .NET Core 2.1 project
  2. Build using Visual Studio 2017 Enterprise
  3. See screenshot.

Expected behavior
Converting 5100 micrometer to nanometer should yield 51000000

Screenshots
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