fix #3731 - round to the nearest foot

This commit is contained in:
Ryan Schultz
2025-03-22 09:11:41 -05:00
parent 75fe548bb0
commit 328fb8bc0e
@@ -272,6 +272,8 @@ def format_distance(
tx_dist += str(frac) + "/" + str(base)
if add_inches or frac:
tx_dist += '"'
if precision == "12":
tx_dist = str(feet) + "'"
else:
fmt = "%1.3f"
sq_feet = round(value * toInches / inPerFoot, 4)