Skip to content

Absolute Values of Quantities #325

@0xferit

Description

@0xferit

We can improve readability, writeability and maybe also performance (by avoiding unnecessary .Meters and .FromMeters) if we provide conversion to abstract.

As-is: Length abstractLength1 = Length.FromMeters(Math.Abs(length1.Meters))

To-be: Length abstractLength1 = length1.ToAbstract()

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions