How can I round down a double by a specific precision. I need a function that gets a double and returns the closest value to that double t
double
precision
Math.Floor(value / precision) * precision