ceil.js 217 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 define(function(){ /** * Round value up with a custom radix. */ function ceil(val, step){ step = Math.abs(step || 1); return Math.ceil(val / step) * step; } return ceil; });