Java Double Number Divide div(double a, double b)

Here you can find the source of div(double a, double b)

Description

div

License

Open Source License

Declaration

public static double div(double a, double b) 

Method Source Code

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

public class Main {
    public static double div(double a, double b) {
        if (b == 0.0) {
            return 0.0;
        } else {//  w  w  w.ja va  2  s. c o  m
            return a / b;
        }
    }
}

Related

  1. calculateRoundDoubleQuotientOfTowIntegerNumber(Integer dividend, Integer divisor)
  2. ceil_divide(float left, float right)
  3. div(double a, double b)
  4. div(double a, double b)
  5. div(double a, double b)
  6. div(Double dividend, Double quotient)
  7. div(double divisor, int dividend, int preciseFigures)