Does anyone know how to round up a number to its nearest multiple of 5? I found an algorithm to round it to the nearest multiple of 10 but I can\'t find this one.
T
Round a given number to the nearest multiple of 5.
public static int round(int n) while (n % 5 != 0) n++; return n; }