Example usage for java.lang StrictMath random

List of usage examples for java.lang StrictMath random

Introduction

In this page you can find the example usage for java.lang StrictMath random.

Prototype

public static double random() 

Source Link

Document

Returns a double value with a positive sign, greater than or equal to 0.0 and less than 1.0 .

Usage

From source file:Main.java

public static void main(String[] args) {

    System.out.println(StrictMath.random());
    System.out.println(StrictMath.random());
    System.out.println(StrictMath.random());

}