change "getRandomNumber" to "getRandomInt" for consistency.
This commit is contained in:
@@ -4,7 +4,7 @@ import java.math.MathContext;
|
||||
|
||||
public abstract class Equations {
|
||||
|
||||
public static int getRandomNumber(int min, int max) {
|
||||
public static int getRandomInt(int min, int max) {
|
||||
return (int) ((Math.random() * (max - min)) + min);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user