Java Random Double random(double min, double max)

Here you can find the source of random(double min, double max)

Description

random

License

Open Source License

Declaration

public static double random(double min, double max) 

Method Source Code

//package com.java2s;

public class Main {
    public static double random(double min, double max) {
        return min + Math.random() * (max - min);
    }/*from   w  ww . ja  va2 s  . c om*/
}

Related

  1. randDouble(double min, double max)
  2. randDouble(int m, int n)
  3. randIn(double min, double max)
  4. RandInRange(double start, double end)
  5. random(double low, double high)
  6. random(double min, double max)
  7. random(final double min, final double max)
  8. randomBetween(double arg1, double arg2)
  9. randomBoth(double range)