Try changing "(dur_seconds / 60 / 60)" to "(dur_seconds / 3600)"



Also, if you're doing "Math.round()" then .66 rounded = 1.