Alright, forget the multiple of 5 thing, its to the nearest 5 per say; therefore 33, should go to 30 because of the logic on the sample code I gave here, if the last number in this case is 3 (from 33), is less than five it should go to 30. So number 11 should go down to 10, 17 should round up to 20, I hope I am a lil clear on that now, thanks! | [reply] Edit |

| [reply] [d/l] |

How is 33 closer to 30 than to 35?
30 31 32 33 34 35
I count two numbers between 30 and 33, but only one number between 33 and 35. Clearly 33 is closer to 35.
| [reply] |

Comment onRe: Best way to round a number.