Skip to content

Commit 3104938

Browse files
committed
fix
1 parent 752d315 commit 3104938

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎lib/BOSS/buildingsync_reader/buildingsync_reader.rb‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ def get_window_data
334334
fenestration_u_factor = window.elements["#{@ns}FenestrationUFactor"]&.text
335335
if fenestration_u_factor.nil?
336336
fenestration_r_value = window.elements["#{@ns}FenestrationRValue"]&.text
337-
if !fenestration_r_value.nil? then fenestration_u_factor = 1 / fenestration_r_value end
337+
if !fenestration_r_value.nil? then fenestration_u_factor = (1.0 / fenestration_r_value.to_f).to_s end
338338
end
339339

340340
# map data
@@ -355,7 +355,7 @@ def get_window_data
355355
return window_pane_type, fenestration_u_factor, solar_heat_gain_coefficient, visible_transmittance
356356
end
357357
end
358-
return nil
359-
end
358+
return nil
360359
end
361360
end
361+
end

0 commit comments

Comments
 (0)