mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 21:58:46 +00:00
Fix #5545
This commit is contained in:
@@ -200,7 +200,7 @@ def format_distance(
|
|||||||
inches = 0
|
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 or (inches == 0 and frac)
|
||||||
tx_dist = ""
|
tx_dist = ""
|
||||||
if feet:
|
if feet:
|
||||||
tx_dist += str(feet) + "'"
|
tx_dist += str(feet) + "'"
|
||||||
|
|||||||
Reference in New Issue
Block a user