js round to nearest .5 code example Example: js number round to each 15 Math.ceil(n / 15) * 15 // 3 -> 15, 22 -> 30 etc.