Brendane #1 Like sswift says.Or rather :-nearestMultiple = value - (value Mod 64)[Edit] - but that's not right is it.. I'll get my coat.