If got an array with an arbitrary number of members. Is there a way to round up to the next power of five? For example - if the array has 3 members, return 5; if it has 37 members, return 40.
Thanks ahead of time. - Ryan
jdMorgan
12:44 am on May 26, 2005 (gmt 0)
Add 4. Divide by 5. Throw away remainder. Multiply by 5.
That'll round up to the next multiple of five, not power of five.