Skip to content

Parsing feet and inches ignores inches in results #72

Closed
@baylesj

Description

@baylesj

Code to replicate:

string length = "60 ft 1 in";
Length l = Length.Parse(length);
string s = l.FeetInches.ToString();

l.Feet is now 60 instead of the actual value of 60.0833333333

s is "60 ft 0 in" instead of being equal to length.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions