Skip to content

Commit

Permalink
fix(properties-utils): fix decimiter units (#440)
Browse files Browse the repository at this point in the history
Co-authored-by: Tomek Kubiak <tomasz.kubiak@7willows.com>
  • Loading branch information
mctomac and Tomek Kubiak authored Jul 5, 2024
1 parent d2a4ed3 commit 3c83e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/ifc/Utils/properties-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class IfcPropertiesUtils {
} else if (unit.Prefix?.value === "CENTI") {
factor = 0.01;
} else if (unit.Prefix?.value === "DECI") {
factor = 0.01;
factor = 0.1;
}
return unitValue * factor;
}
Expand Down

0 comments on commit 3c83e02

Please sign in to comment.