mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-06 20:36:27 +00:00
proposed fix for #3792
This commit is contained in:
@@ -180,10 +180,6 @@ def format_distance(
|
|||||||
frac = 0
|
frac = 0
|
||||||
inches += 1
|
inches += 1
|
||||||
|
|
||||||
# Check values and compose string
|
|
||||||
if inches == 12:
|
|
||||||
feet += 1
|
|
||||||
inches = 0
|
|
||||||
|
|
||||||
if not isArea:
|
if not isArea:
|
||||||
add_inches = bool(inches) or not suppress_zero_inches
|
add_inches = bool(inches) or not suppress_zero_inches
|
||||||
|
|||||||
Reference in New Issue
Block a user