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

x/dallmo_util_math/app.ts

deno module, a collection of math util under dallmo-util
Go to Latest
import * as dallmoUtilMath from "https://deno.land/x/dallmo_util_math@v1.1.0/app.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.

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