We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6137cdc commit 7b8d1d0Copy full SHA for 7b8d1d0
1 file changed
UnitsNet/CustomCode/Quantities/Length.extra.cs
@@ -165,7 +165,7 @@ public string ToString(IFormatProvider? cultureInfo)
165
// If it does feet/inches are fixed something like 4 ft 0 in is displayed instead of 3ft 12 in for things very close to 4 e.g. 3.9999 ft
166
var feet = Feet;
167
var inches = Math.Round(Inches);
168
- if(inches == InchesInOneFoot)
+ if (inches == InchesInOneFoot)
169
{
170
feet++;
171
inches = 0;
0 commit comments