Java Double Number Equal doubleEquals(double d1, double d2)

Here you can find the source of doubleEquals(double d1, double d2)

Description

double Equals

License

Apache License

Declaration

public static boolean doubleEquals(double d1, double d2) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static boolean doubleEquals(double d1, double d2) {
        return Double.compare(d1, d2) == 0;
    }//from  www .  j ava2 s .c o  m
}

Related

  1. doubleEquality(double v1, double v2, double epsilon)
  2. doubleEquals(double a, double b)
  3. doubleEquals(double a, double b)
  4. doubleEquals(double a, double b)
  5. doubleEquals(Double d1, Double d2)
  6. doubleEquals(double d1, double d2, double epsilon)
  7. doubleEqualsWithTolerance(double a, double b, long maxFloatsBetween)