Exemple #1
0
 /// <summary>
 /// Returns the the percentage of the number as a value of the specified value (dividend) rounded to the specified decimal point
 /// </summary>
 /// <param name="dividend">The number to divide by</param>
 /// <param name="round">Optional value round the result by</param>
 public static double DivideBy(this long d, double dividend, int?round = null)
 {
     return(Arithmetic.Divide(d, dividend, round));
 }