Java Random Double random(final double min, final double max)

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

Description

random

License

Apache License

Declaration

static public double random(final double min, final double max) 

Method Source Code

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

public class Main {
    static public double random(final double min, final double max) {
        final double random = Math.random();

        return random * (max - min) + min;
    }/*from w  w w .j ava2s  . co  m*/
}

Related

  1. randIn(double min, double max)
  2. RandInRange(double start, double end)
  3. random(double low, double high)
  4. random(double min, double max)
  5. random(double min, double max)
  6. randomBetween(double arg1, double arg2)
  7. randomBoth(double range)
  8. randomChance(double chance)
  9. randomColor(double d)