Skip to content

dive-math / deco / nextStopDepth

Function: nextStopDepth() ​

nextStopDepth(d, step, last): number

Defined in: deco/ascent.ts:94

Next depth on the stop grid above d, m; 0 after the last stop.

Parameters ​

d ​

number

step ​

number

last ​

number

Returns ​

number

Example ​

ts
nextStopDepth(12, 3, 3) // 9

Reference only — verify every fill and dive plan independently.