Function: alignTickUpOrNaN
alignTickUpOrNaN(
tick,spacing):number
alignTickUp that answers NaN instead of throwing: the least multiple of spacing that
is no less than tick, or NaN for a spacing that is not a positive integer. See
alignTickDownOrNaN.
Parameters
| Parameter | Type |
|---|---|
tick | number |
spacing | number |
Returns
number