Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dallmo_util_math/mod.ts

deno module, a collection of math util under dallmo-util
Latest
import * as dallmoUtilMath from "https://deno.land/x/dallmo_util_math@v1.2.0/mod.ts";

Functions

given a number, return a string with leading zero in specified output_length by char count

given 2 integers, return an random integer in between, inclusive.

this function returns a number array with the given size, and each item a random integer

given an input number ( input_num ), and the min and max value of each section, this function divide the input number into random sections, with the requirement that the sum of all sections equal to the input number, and return the result as an array

test connecting to this child module from parent