UNPKG

@seasketch/geoprocessing

Version:

Geoprocessing and reporting framework for SeaSketch 2.0

3 lines 235 B
export const randomInt = (max = Number.MAX_VALUE) => Math.floor(Math.random() * Math.floor(max)); export const randomFloat = (min = 0, max = Number.MAX_VALUE) => Math.random() * (max - min) + min; //# sourceMappingURL=randomData.js.map