This commit is contained in:
Ryan Schultz
2023-10-02 14:56:17 -05:00
parent 9dd728ce7e
commit d0ef7f69b1
@@ -180,6 +180,14 @@ def format_distance(
frac = 0
inches += 1
# Check values and compose string
if inches == 12:
if unit_length == "INCHES":
inches = 12
if unit_length == "FEET":
feet += 1
inches = 0
if not isArea:
add_inches = bool(inches) or not suppress_zero_inches