Here you can find the source of randInt()
public static double randInt()
//package com.java2s; //License from project: Open Source License public class Main { /**//w w w . j a v a 2 s. c o m * Method for getting random number in range (0,000-1,000) * * @return */ public static double randInt() { return Math.random(); } }