Skip to content

Commit

Permalink
Update random.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx authored Jun 17, 2024
1 parent bdfe0de commit ec4c508
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/math/random.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
/**
* This function generates a random number between `min` and `max`.
* @param min Minimum number
* @param max Maximum number
* @param process A function the processes the random generated number
* @returns A random number
*/
export default function random(
min : number,
max : number
) {

max : number,
process = Math.floor
) : number {
return 0;
}

0 comments on commit ec4c508

Please sign in to comment.