Java Number Range Create range(float number, float value, float range)

Here you can find the source of range(float number, float value, float range)

Description

range

License

Open Source License

Declaration

public static boolean range(float number, float value, float range) 

Method Source Code

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

public class Main {
    public static boolean range(float number, float value, float range) {
        return number > value - range && number < value + range;
    }//from  w  w w  .  ja  va2 s  .  c  o  m
}

Related

  1. range(double value1, double value2)
  2. range(double[] data, int to, int stride, int numElementsEachStride)
  3. range(double[] min, double[] max, double[] min2, double[] max2)
  4. range(double[] vals)
  5. range(final int max)
  6. range(int begin, int end)
  7. range(int end)
  8. range(int excludedEnd)
  9. range(int from, int to)