src.app.shared.tools.number-utils.ts Maven / Gradle / Ivy
The newest version!
/*
* SPDX-FileCopyrightText: 2017-2024 Enedis
*
* SPDX-License-Identifier: Apache-2.0
*
*/
export function randomIntFromInterval(min, max) {
return Math.floor(Math.random() * (max - min + 1) + min);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy