Module

x/lodash_es/src/number.js

lodash for deno use
Latest
import * as mod from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/number.js";

Functions

Clamps number within the inclusive lower and upper bounds.

Checks if n is between start and up to, but not including, end. If end is not specified, it's set to start with start then set to 0. If start is greater than end the params are swapped to support negative ranges.

Produces a random number between the inclusive lower and upper bounds. If only one argument is provided a number between 0 and the given number is returned. If floating is true, or either lower or upper are floats, a floating-point number is returned instead of an integer.