public static double Round(this double value, double precision) { return Math.Round(value / precision) * precision; }