Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/remapper/src/mod.ts>rand

A framework for Beat Saber map scripting.
Go to Latest
function rand
import { rand } from "https://deno.land/x/remapper@3.0.0/src/mod.ts";

Gives a random number in the given range.

Parameters

start: number

Minimum value.

end: number

Maximum value.

optional
roundResult: number

If defined, result will be rounded to nearest multiple of this number.