Files
homarr/apps/docs/src/tools/math.ts
T

4 lines
116 B
TypeScript

export function getRndInteger(min: number, max: number) {
return Math.round(Math.random() * (max - min)) + min;
}