Rounding up to the nearest 0.05 in JavaScript
Rob's answer with my addition:
(Math.ceil(number*20 - 0.5)/20).toFixed(2)
Otherwise it always rounds up to the nearest 0.05.
** UPDATE **
Sorry has been pointed out this is not what the orig poster wanted.
Multiply by 20, then divide by 20:
(Math.ceil(number*20)/20).toFixed(2)