Divide two numbers, then apply a custom rounding rule If the fractional part of the number is greater than 0.6, round up; if less, round down.
I need feedback about my code.

public static double DivisionMethod(double a, double b)
{
      double div = a / b;
      double temp = Math.Floor(div);
      double fractional = div - temp;

      if (fractional &gt; 0.6)
      {
          return Math.Ceiling(div);
      }
      else
      {
          return Math.Floor(div);
      }
}
DivisionMethod is a pretty vague/poor name for your method; any method with the word "method" in it should raise a "bad name" flag!

Also, hard-coding the threshold into the function takes away flexibility. Perhaps I'd consider an optional parameter, like this:

public static double RoundedDivision(double a, double b, double threshold = 0.6)


Okay, not sure RoundedDivision is a much better name... naming is hard!. This is where XML comments can help:

/// &lt;summary&gt;
/// Divides &lt;c&gt;a&lt;/c&gt; by &lt;c&gt;b&lt;/c&gt; and round up if quotient is
/// greater than &lt;c&gt;threshold&lt;/c&gt;, round down if it's less. 
/// &lt;/summary&gt;
public static double RoundedDivision(double a, double b, double threshold = 0.6)


It's probably best to call a cat, a cat: a is the dividend and b is the divisor, so the method would be clearer with a signature like this:

/// &lt;summary&gt;
/// Divides &lt;c&gt;dividend&lt;/c&gt; by &lt;c&gt;divisor&lt;/c&gt; and round up if quotient is
/// greater than &lt;c&gt;threshold&lt;/c&gt;, round down if it's less. 
/// &lt;/summary&gt;
public static double RoundedDivision(double dividend, double divisor, double threshold = 0.6)


As was mentioned in the comments, there's an ambiguity issue with the threshold: what happens if the quotient is exactly equal to the threshold?