Java Number Difference difference(float x, float y)

Here you can find the source of difference(float x, float y)

Description

difference

License

Open Source License

Declaration

public static float difference(float x, float y) 

Method Source Code

//package com.java2s;
// {LICENSE}/*w  w  w.  j  av a2  s.  c  om*/

public class Main {
    public static float difference(float x, float y) {
        return Math.abs(x - y);
    }
}

Related

  1. difference(double m1, double M1, double m2, double M2)
  2. difference(int start, int boundary)
  3. difference(Integer value1, Integer value2)
  4. differenceModulo(int a, int b, int c)