I am creating an application using JavaFx.In this application I want to create random numbers that for a range of 0.0-2.0.I am not able to do this because javafx.util.Math.random() returns only double values of range 0.0 - 1.0.If I use a scaling factor to increase the range, the uniform distribution of Random Numbers is lost, and this affects my entire application.
So I want to request a new feature for generating Random values in Float for a given specific range.I find this feature will be very useful in JavaFX,as we can use them to make objects move randomly in the screen and it will be very useful in case of Gaming Applications.
In Java there is a method java.util.Random.nextInt(int) which allows user to specify the end value and returns an Integer,which is also not available in JavaFX.This feature can be inherited from Java.
These features will help in easy development of the applications.
So I want to request a new feature for generating Random values in Float for a given specific range.I find this feature will be very useful in JavaFX,as we can use them to make objects move randomly in the screen and it will be very useful in case of Gaming Applications.
In Java there is a method java.util.Random.nextInt(int) which allows user to specify the end value and returns an Integer,which is also not available in JavaFX.This feature can be inherited from Java.
These features will help in easy development of the applications.