+ static getRandomInt(max, min = 0) {
+ if (min) {
+ return Math.floor(Utils.getRandomFloat(max, min));
+ }
+ return Math.floor(Utils.getRandomFloat(max));
+ }
+
+ static roundTo(number, scale) {
+ return Utils.convertToFloat(number.toFixed(scale));
+ }
+
+ static getRandomFloatRounded(max, min = 0, scale = 2) {
+ if (min) {
+ return Utils.roundTo(Utils.getRandomFloat(max, min), scale);
+ }
+ return Utils.roundTo(Utils.getRandomFloat(max), scale);
+ }
+
+ static logPrefix(prefixString = '') {