Skip to content

Instantly share code, notes, and snippets.

View TKDKid1000's full-sized avatar
Looking at stars!

TKDKid1000

Looking at stars!
View GitHub Profile
@TKDKid1000
TKDKid1000 / NumberUtil.java
Created April 24, 2021 17:31
A simple way to create smooth random numbers in java
import java.util.Random;
public class NumberUtil {
public static int getRandomNumberRange(int min, int max) {
Random random = new Random();
return random.nextInt(max - min) + min;
}
}