Java Double Number Divide divdivmin(double a, double b, double c, double d)

Here you can find the source of divdivmin(double a, double b, double c, double d)

Description

divdivmin

License

Open Source License

Declaration

public static double divdivmin(double a, double b, double c, double d) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static double divdivmin(double a, double b, double c, double d) {
        return div(a * b, c * d) * Math.min(c, d);
    }//  w  w  w. ja v  a2 s.c o m

    public static double div(double a, double b) {
        if (b == 0.0) {
            return 0.0;
        } else {
            return a / b;
        }
    }
}

Related

  1. div(double a, double b)
  2. div(Double dividend, Double quotient)
  3. div(double divisor, int dividend, int preciseFigures)
  4. div(double left, double right)
  5. div(final double a, final double b)
  6. divergenceKL(double... a)
  7. divHex(double num)
  8. divide(Double a, Double b)
  9. divide(double a, double b)