Skip to content

Conversion calculations are inconsistent #2

@JohnathanGander

Description

@JohnathanGander

Your readme says:
"(10 inches - 0) / 0.0254 = 0.254 metres"
Which is incorrect.

This is correct:
(10 inches * 0.0254) + 0 = 0.254 metres

It appears that this is true for almost every other conversion (eg: all measurements in length, temperature is ok). Simply inverting the multiplier (1/multiplier) should resolve the issues.
1/0.0254 ~= 39.37
(10 inches - 0) / 39.37 ~= 0.254 metres

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