dylan-smith / DiveIntelligence

1 stars 1 forks source link

ceiling over time chart should round up ceiling #195

Open dylan-smith opened 3 months ago

dylan-smith commented 3 months ago

Right now the ceiling over time chart doesn't quite match the ceiling displayed in the stats box. I suspect this is because the ceiling in the stats box always rounds up (e.g. if ceiling is 6.1m it shows 7m), but the chart probably rounds properly meaning 6.1 shows as 6.

That means that they don't match up and can be confusing.

This may be all a moot point when we change the ceiling calcs to take into account ascent times, depending on how we apply that to the ceiling chart or not.