GeometryGym / GeometryGymIFC

C# classes to generate and parse OpenBIM IFC files
Other
269 stars 97 forks source link

IfcReal set Value FormatException #47

Closed bschorno closed 2 years ago

bschorno commented 3 years ago

There is an FormatException when setting a decimal to the IfcReal.Value. I think the setter should use Convert.ToDouble instead of Convert.ToInt32

grafik

jmirtsch commented 3 years ago

Thanks, that certainly looks wrong. I've just changed it in my code and will push in the next version.