UNPKG

@deltares/fews-web-oc-charts

Version:
9 lines (8 loc) 358 B
/** * Rounds a number up to the nearest multiple of the specified step. * * @param value - The number to be rounded up. * @param step - The step to which the number should be rounded up. * @returns The smallest multiple of the step that is greater than or equal to the value. */ export declare function ceilByStep(value: number, step: number): number;