<p dir="ltr">Hi,</p>
<p dir="ltr">On 6 Jul 2015 4:26 am, "Robert C. Helling" <<a href="mailto:helling@atdotde.de">helling@atdotde.de</a>> wrote:<br>
><br>
> Hi,<br>
><br>
>> On 05 Jul 2015, at 15:09, Dirk Hohndel <<a href="mailto:dirk@hohndel.org">dirk@hohndel.org</a>> wrote:<br>
>><br>
>> But what I've seen in diver training and in blender training (I'm a certified trimix diver and trimix blender) is that you round to the nearest foot. Not truncate.<br>
></p>
<p dir="ltr">Here people do that, but they also have the big semi-permanent label indicating MOD down the side.  That is the depth they switch at, which is always a normal deco stop depth (multiple of 3m /10ft).  21 m (not 22 m) for 50%, etc.  And the switch depth in feet is always 0.3 x the switch depth in metres.</p>
<p dir="ltr">Serious question: does anyone switch to 50% at 22m?</p>
<p dir="ltr">For the planner, we need the switch depth, not the true MOD.  Maybe we need to rename the function to something like gas_switch_depth.  Or we can create a new function if the current one is used elsewhere.</p>
<p dir="ltr">><br>
> I guess that is the best solution: Round to the nearest meter/foot depending on units. Will later send a patch for this.<br>
></p>
<p dir="ltr">To calculate switch depth, I'd be tempted to round to nearest metre.  Then round down to nearest 5m.  And finally, do a psuedo conversation of 1ft =0.3m to get the imperial gas switch depth.</p>
<p dir="ltr">I have work to go to, so won't be sending a patch in the next 12 hr.</p>
<p dir="ltr">Rick</p>