diff --git a/CutToLength/UIItem.cs b/CutToLength/UIItem.cs index ffd5d7e..11cac22 100644 --- a/CutToLength/UIItem.cs +++ b/CutToLength/UIItem.cs @@ -19,9 +19,11 @@ namespace CutToLength { try { + var input = Fraction.ReplaceFractionsWithDecimals(LengthInputValue); + double d; - if (double.TryParse(LengthInputValue, out d)) + if (double.TryParse(input, out d)) { LengthInputValue += "\""; return d;